System.Web.Services.Discovery.DiscoveryDocumentReference.Resolve Method

Resolves whether the referenced document is valid.

Syntax

protected override void Resolve (string contentType, System.IO.Stream stream)

Parameters

contentType
The MIME type of stream.
stream
The System.IO.Stream containing the referenced document.

Remarks

If the MIME type is text/xml and the content of stream is a discovery document, then the contents of stream are added to the DiscoveryClientProtocol.References and DiscoveryClientProtocol.Documents properties of DiscoveryReference.ClientProtocol.

Before invoking the DiscoveryDocumentReference.Resolve(string, System.IO.Stream) method, the DiscoveryReference.ClientProtocol property must be set to a valid instance of System.Web.Services.Discovery.DiscoveryClientProtocol.

Requirements

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0