ODataHttpRequestMessageExtensions.GetODataPathHandler Method
Namespace: System.Net.Http
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetODataPathHandler ( _
request As HttpRequestMessage _
) As IODataPathHandler
'Usage
Dim request As HttpRequestMessage
Dim returnValue As IODataPathHandler
returnValue = request.GetODataPathHandler()
public static IODataPathHandler GetODataPathHandler(
this HttpRequestMessage request
)
[ExtensionAttribute]
public:
static IODataPathHandler^ GetODataPathHandler(
HttpRequestMessage^ request
)
static member GetODataPathHandler :
request:HttpRequestMessage -> IODataPathHandler
public static function GetODataPathHandler(
request : HttpRequestMessage
) : IODataPathHandler
Parameters
- request
Type: System.Net.Http.HttpRequestMessage
Return Value
Type: System.Web.Http.OData.Routing.IODataPathHandler
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type HttpRequestMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).