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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET