System.Web.Services.Discovery.SchemaReference.Resolve Method

Resolves whether the referenced document is valid.

Syntax

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

Parameters

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

Remarks

If the MIME type is text/xml and the contents of stream are an XSD schema, then the contents of stream are added to the DiscoveryClientProtocol.References and DiscoveryClientProtocol.Documents properties of DiscoveryReference.ClientProtocol.

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