Name

DiscoveryReference

Synopsis

A discovery document can refer to three things: WSDL service descriptions, XSD documents, or other discovery files. These references are represented by three different classes in this namespace (ContractReference, DiscoveryDocumentReference, and SchemaReference), all of which inherit from this abstract base class.

Public MustInherit Class DiscoveryReference
                  ' Protected Constructors
   Protected Sub New() 
' Public Instance Properties
   Public Property ClientProtocol As DiscoveryClientProtocol  
   Overridable Public ReadOnly Property DefaultFilename As String  
   MustInherit Public Property Url As String  
' Protected Shared Methods
   Shared Protected Function FilenameFromUrl(
        ByVal url As String) As String  
' Public Instance Methods
   MustInherit Public Function ReadDocument(
        ByVal stream As System.IO.Stream) As Object  
   Public Sub Resolve() 
   MustInherit Public Sub WriteDocument(
        ByVal document As Object, 
        ByVal stream As System.IO.Stream) 
' Protected Instance Methods
   MustInherit Protected Friend Sub Resolve(
        ByVal contentType As String, 
        ByVal stream As System.IO.Stream) 
End Class

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.