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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.