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
- controllerContext
Type: System.Web.Http.Controllers.HttpControllerContext
The context of the controller.
Return Value
Type: System.Web.Http.Controllers.HttpActionDescriptor
The action for the controller.