ODataHttpRequestMessageExtensions.GetODataPathHandler Method (HttpRequestMessage)
Note: This API is now obsolete.
Gets the IODataPathHandler for generating links. Creates a default IODataPathHandler if value is currently null.
Namespace: System.Net.Http
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
[ObsoleteAttribute("This method is obsolete; use the ODataProperties().PathHandler property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
public static IODataPathHandler GetODataPathHandler(
this HttpRequestMessage request
)
public:
[ExtensionAttribute]
[ObsoleteAttribute("This method is obsolete; use the ODataProperties().PathHandler property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
static IODataPathHandler^ GetODataPathHandler(
HttpRequestMessage^ request
)
[<ObsoleteAttribute("This method is obsolete; use the ODataProperties().PathHandler property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>]
static member GetODataPathHandler :
request:HttpRequestMessage -> IODataPathHandler
<ExtensionAttribute>
<ObsoleteAttribute("This method is obsolete; use the ODataProperties().PathHandler property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>
Public Shared Function GetODataPathHandler (
request As HttpRequestMessage
) As IODataPathHandler
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request.
Return Value
Type: System.Web.Http.OData.Routing.IODataPathHandler
The IODataPathHandler for generating links.
See Also
ODataHttpRequestMessageExtensions Class
System.Net.Http Namespace
Return to top