UriParser.Resolve(Uri, Uri, UriFormatException) 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.
protected:
virtual System::String ^ Resolve(Uri ^ baseUri, Uri ^ relativeUri, [Runtime::InteropServices::Out] UriFormatException ^ % parsingError);
protected virtual string? Resolve (Uri baseUri, Uri? relativeUri, out UriFormatException? parsingError);
protected virtual string Resolve (Uri baseUri, Uri relativeUri, out UriFormatException parsingError);
abstract member Resolve : Uri * Uri * UriFormatException -> string
override this.Resolve : Uri * Uri * UriFormatException -> string
Protected Overridable Function Resolve (baseUri As Uri, relativeUri As Uri, ByRef parsingError As UriFormatException) As String
Parameters
- baseUri
- Uri
A base URI.
- relativeUri
- Uri
A relative URI.
- parsingError
- UriFormatException
When this method returns, contains the errors that occurred during the resolve process, if any.
Returns
The string of the resolved relative Uri.
Exceptions
Remarks
Uri constructors and Uri.TryCreate use Resolve to construct a URI from baseUri
and relativeUri
.
If a parsing error occurs, the returned string for the resolved relative Uri is null.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET