Share via


IODataPayloadUriConverter.ConvertPayloadUri(Uri, Uri) Method

Definition

Implements a custom URL conversion scheme. This method returns null if no custom conversion is desired. If the method returns a non-null URL that value will be used without further validation.

public Uri ConvertPayloadUri (Uri baseUri, Uri payloadUri);
abstract member ConvertPayloadUri : Uri * Uri -> Uri
Public Function ConvertPayloadUri (baseUri As Uri, payloadUri As Uri) As Uri

Parameters

baseUri
Uri

The (optional) base URI to use for the conversion.

payloadUri
Uri

The URI read from the payload.

Returns

Uri

An instance that reflects the custom conversion of the method arguments into a URL or null if no custom conversion is desired; in that case the default conversion is used.

Applies to