Compartilhar via


IHttpControllerSelector.SelectController Method

Selects a HttpControllerDescriptor for the given HttpRequestMessage.

Namespace:  System.Web.Http.Dispatcher
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Function SelectController ( _
    request As HttpRequestMessage _
) As HttpControllerDescriptor
'Usage
Dim instance As IHttpControllerSelector 
Dim request As HttpRequestMessage 
Dim returnValue As HttpControllerDescriptor 

returnValue = instance.SelectController(request)
HttpControllerDescriptor SelectController(
    HttpRequestMessage request
)
HttpControllerDescriptor^ SelectController(
    HttpRequestMessage^ request
)
abstract SelectController : 
        request:HttpRequestMessage -> HttpControllerDescriptor
function SelectController(
    request : HttpRequestMessage
) : HttpControllerDescriptor

Parameters

  • request
    Type: HttpRequestMessage

    The request message.

Return Value

Type: System.Web.Http.Controllers.HttpControllerDescriptor
An HttpControllerDescriptor instance.

See Also

Reference

IHttpControllerSelector Interface

System.Web.Http.Dispatcher Namespace