System.Web.Services.Discovery.DiscoveryReference Members

The members of System.Web.Services.Discovery.DiscoveryReference are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Web.Services.Discovery.DiscoveryReference class.

Public Properties

ClientProtocolDiscoveryClientProtocol.

Gets or sets the instance of System.Web.Services.Discovery.DiscoveryClientProtocol used in a discovery process.

[read-only]
DefaultFilenamestring.

Gets the name of the default file to use when saving the referenced discovery document, XSD schema, or Service Description.

abstract
Urlstring.

Gets or sets the URL of the referenced document.

Public Methods

static
FilenameFromUrl(string) : string

Returns a file name based on the passed URL.

abstract
ReadDocument(System.IO.Stream) : object

Reads the passed System.IO.Stream and returns an instance of the class representing the type of referenced document.

Resolve()

Downloads the referenced document at DiscoveryReference.Url to resolve whether the referenced document is valid.

abstract
WriteDocument(object, System.IO.Stream)

When overridden in a derived class, writes the document to a System.IO.Stream.

Protected Methods

abstract
Resolve(string, System.IO.Stream)

Resolves whether the referenced document is valid.