ContractReference.Resolve(String, Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.