Compartilhar via


IHttpActionSelector.SelectAction Method

Selects the action for the controller.

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

Syntax

'Declaration
Function SelectAction ( _
    controllerContext As HttpControllerContext _
) As HttpActionDescriptor
'Usage
Dim instance As IHttpActionSelector
Dim controllerContext As HttpControllerContext
Dim returnValue As HttpActionDescriptor

returnValue = instance.SelectAction(controllerContext)
HttpActionDescriptor SelectAction(
    HttpControllerContext controllerContext
)
HttpActionDescriptor^ SelectAction(
    HttpControllerContext^ controllerContext
)
abstract SelectAction : 
        controllerContext:HttpControllerContext -> HttpActionDescriptor 
function SelectAction(
    controllerContext : HttpControllerContext
) : HttpActionDescriptor

Parameters

Return Value

Type: System.Web.Http.Controllers.HttpActionDescriptor
The action for the controller.

See Also

Reference

IHttpActionSelector Interface

System.Web.Http.Controllers Namespace