Share via


ODataBatchOperationRequestMessage.IODataUrlResolver.ResolveUrl Method

Implements a custom URL resolution scheme.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Private Function ResolveUrl ( _
    baseUri As Uri, _
    payloadUri As Uri _
) As Uri Implements IODataUrlResolver.ResolveUrl
'Usage
Dim instance As ODataBatchOperationRequestMessage 
Dim baseUri As Uri 
Dim payloadUri As Uri 
Dim returnValue As Uri 

returnValue = CType(instance, IODataUrlResolver).ResolveUrl(baseUri, _
    payloadUri)
Uri IODataUrlResolver.ResolveUrl(
    Uri baseUri,
    Uri payloadUri
)
private:
virtual Uri^ ResolveUrl(
    Uri^ baseUri, 
    Uri^ payloadUri
) sealed = IODataUrlResolver::ResolveUrl
private abstract ResolveUrl : 
        baseUri:Uri * 
        payloadUri:Uri -> Uri  
private override ResolveUrl : 
        baseUri:Uri * 
        payloadUri:Uri -> Uri
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

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.

Implements

IODataUrlResolver.ResolveUrl(Uri, Uri)

See Also

Reference

ODataBatchOperationRequestMessage Class

Microsoft.Data.OData Namespace