IODataUrlResolver.ResolveUrl Method
Implements a custom URL resolution scheme. This method returns null if no custom resolution is desired. If the method returns a non-null URL that value will be used without further validation.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Function ResolveUrl ( _
baseUri As Uri, _
payloadUri As Uri _
) As Uri
'Usage
Dim instance As IODataUrlResolver
Dim baseUri As Uri
Dim payloadUri As Uri
Dim returnValue As Uri
returnValue = instance.ResolveUrl(baseUri, _
payloadUri)
Uri ResolveUrl(
Uri baseUri,
Uri payloadUri
)
Uri^ ResolveUrl(
Uri^ baseUri,
Uri^ payloadUri
)
abstract ResolveUrl :
baseUri:Uri *
payloadUri:Uri -> Uri
function ResolveUrl(
baseUri : Uri,
payloadUri : Uri
) : Uri
Parameters
- baseUri
Type: System.Uri
The (optional) base URI to use for the resolution.
- payloadUri
Type: System.Uri
The URI read from the payload.
Return Value
Type: System.Uri
An instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used.