Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Selects the controller for OData requests.
Namespace: System.Web.Http.OData.Routing.Conventions
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
string SelectController(
ODataPath odataPath,
HttpRequestMessage request
)
String^ SelectController(
ODataPath^ odataPath,
HttpRequestMessage^ request
)
abstract SelectController :
odataPath:ODataPath *
request:HttpRequestMessage -> string
Function SelectController (
odataPath As ODataPath,
request As HttpRequestMessage
) As String
Parameters
odataPath
Type: System.Web.Http.OData.Routing.ODataPathThe OData path.
request
Type: System.Net.Http.HttpRequestMessageThe request.
Return Value
Type: System.String
null if the request isn't handled by this convention; otherwise, the name of the selected controller
See Also
IODataRoutingConvention Interface
System.Web.Http.OData.Routing.Conventions Namespace
Return to top