ContractReference.Resolve(String, Stream) Método

Definição

Resolve se o documento referenciado é válido.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)

Parâmetros

contentType
String

O tipo de conteúdo MIME do stream.The MIME content type of stream.

stream
Stream

O Stream que contém o documento referenciado.The Stream containing the referenced document.

Exceções

A propriedade ClientProtocol é null.The ClientProtocol property is null.

- ou --or- Não foi possível baixar e verificar a descrição do serviço.The service description could not be downloaded and verified successfully.

Comentários

Se o tipo MIME for text/xml e o conteúdo de stream for uma descrição de serviço, o conteúdo de será stream adicionado às References Propriedades e Documents de ClientProtocol .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.

Aplica-se a

Confira também