Main Page

  Previous Section Next Section


System.Web.Services.Discovery (system.web.services.dll)sealed class

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 sealed class DiscoveryDocument {
// Public Constructors
   public DiscoveryDocument( );
// Public Static Fields
   public const string Namespace;                   // =http://schemas.xmlsoap.org/disco/
// Public Instance Properties
   public IList References{get; }
// Public Static Methods
   public static bool CanRead(System.Xml.XmlReader xmlReader);
   public static DiscoveryDocument Read(System.IO.Stream stream);
   public static DiscoveryDocument Read(System.IO.TextReader reader);
   public static DiscoveryDocument Read(System.Xml.XmlReader xmlReader);
// Public Instance Methods
   public void Write(System.IO.Stream stream);
   public void Write(System.IO.TextWriter writer);
   public void Write(System.Xml.XmlWriter writer);

Returned By

DiscoveryClientProtocol.{Discover( ), DiscoverAny( )}, DiscoveryDocumentReference.Document

      Previous Section Next Section