IODataUrlResolver.ResolveUrl Method (Uri, Uri)
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.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Syntax
Uri ResolveUrl(
Uri baseUri,
Uri payloadUri
)
Uri^ ResolveUrl(
Uri^ baseUri,
Uri^ payloadUri
)
abstract ResolveUrl :
baseUri:Uri *
payloadUri:Uri -> Uri
Function ResolveUrl (
baseUri As Uri,
payloadUri As Uri
) As Uri
Parameters
baseUri
Type: System.UriThe (optional) base URI to use for the resolution.
payloadUri
Type: System.UriThe 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.
See Also
IODataUrlResolver Interface
Microsoft.OData.Core Namespace
Return to top