ODataActionSelector.SelectAction(HttpControllerContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects an action for the System.Web.Http.Controllers.ApiControllerActionSelector.
public System.Web.Http.Controllers.HttpActionDescriptor SelectAction (System.Web.Http.Controllers.HttpControllerContext controllerContext);
abstract member SelectAction : System.Web.Http.Controllers.HttpControllerContext -> System.Web.Http.Controllers.HttpActionDescriptor
override this.SelectAction : System.Web.Http.Controllers.HttpControllerContext -> System.Web.Http.Controllers.HttpActionDescriptor
Public Function SelectAction (controllerContext As HttpControllerContext) As HttpActionDescriptor
Parameters
- controllerContext
- System.Web.Http.Controllers.HttpControllerContext
The controller context.
Returns
System.Web.Http.Controllers.HttpActionDescriptor
The selected action.
Implements
System.Web.Http.Controllers.IHttpActionSelector.SelectAction(System.Web.Http.Controllers.HttpControllerContext)