ApiControllerActionSelector.SelectAction Method
Selects an action for the ApiControllerActionSelector.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Function SelectAction ( _
controllerContext As HttpControllerContext _
) As HttpActionDescriptor
'Usage
Dim instance As ApiControllerActionSelector
Dim controllerContext As HttpControllerContext
Dim returnValue As HttpActionDescriptor
returnValue = instance.SelectAction(controllerContext)
public virtual HttpActionDescriptor SelectAction(
HttpControllerContext controllerContext
)
public:
virtual HttpActionDescriptor^ SelectAction(
HttpControllerContext^ controllerContext
)
abstract SelectAction :
controllerContext:HttpControllerContext -> HttpActionDescriptor
override SelectAction :
controllerContext:HttpControllerContext -> HttpActionDescriptor
public function SelectAction(
controllerContext : HttpControllerContext
) : HttpActionDescriptor
Parameters
- controllerContext
Type: System.Web.Http.Controllers.HttpControllerContext
The controller context.
Return Value
Type: System.Web.Http.Controllers.HttpActionDescriptor
The selected action.
Implements
IHttpActionSelector.SelectAction(HttpControllerContext)