ContractReference.Resolve(String, Stream) Method

Definition

Resolves whether the referenced document is valid.

protected public:
 override void Resolve(System::String ^ contentType, System::IO::Stream ^ stream);
protected internal override void Resolve (string contentType, System.IO.Stream stream);
override this.Resolve : string * System.IO.Stream -> unit
Protected Friend Overrides Sub Resolve (contentType As String, stream As Stream)

Parameters

contentType
String

The MIME content type of stream.

stream
Stream

The Stream containing the referenced document.

Exceptions

The ClientProtocol property is null.

-or-

The service description could not be downloaded and verified successfully.

Remarks

If the MIME type is text/xml and the contents of stream is a Service Description, then the contents of stream are added to the References and Documents properties of ClientProtocol.

Applies to

See also