IHttpControllerSelector.SelectController Method (HttpRequestMessage)
Selects a HttpControllerDescriptor for the given HttpRequestMessage.
Namespace: System.Web.Http.Dispatcher
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
HttpControllerDescriptor SelectController(
HttpRequestMessage request
)
HttpControllerDescriptor^ SelectController(
HttpRequestMessage^ request
)
abstract SelectController :
request:HttpRequestMessage -> HttpControllerDescriptor
Function SelectController (
request As HttpRequestMessage
) As HttpControllerDescriptor
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request message.
Return Value
Type: System.Web.Http.Controllers.HttpControllerDescriptor
An HttpControllerDescriptor instance.
See Also
IHttpControllerSelector Interface
System.Web.Http.Dispatcher Namespace
Return to top