Name

DiscoveryDocument

Synopsis

This class represents a discovery document (usually found as a .disco or .vsdisco file). The discovery document is an XML document that contains references to any number of web services (actually, it points to their WSDL service descriptions), XSD files, or other discovery documents. The References property contains a list of the discover document references. The Read() and Write() methods serialize or deserialize the DiscoveryDocument to or from a System.IO.Stream, System.IO.TextWriter, or System.Xml.XmlWriter.

Public NotInheritable Class DiscoveryDocument
                  ' Public Constructors
   Public Sub New() 
' Public Shared Fields
   public const Namespace As String        // =http://schemas.xmlsoap.org/disco/
                  ' Public Instance Properties
   Public ReadOnly Property References As IList  
' Public Shared Methods
   Public Shared Function CanRead(
        ByVal xmlReader As System.Xml.XmlReader) As Boolean  
   Public Shared Function Read(
        ByVal stream As System.IO.Stream) As DiscoveryDocument  
   Public Shared Function Read(
        ByVal reader As System.IO.TextReader) As DiscoveryDocument  
   Public Shared Function Read(
        ByVal xmlReader As System.Xml.XmlReader) As DiscoveryDocument  
' Public Instance Methods
   Public Sub Write(ByVal stream As System.IO.Stream) 
   Public Sub Write(ByVal writer As System.IO.TextWriter) 
   Public Sub Write(ByVal writer As System.Xml.XmlWriter) 
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.