Share via


ControllerActionInvoker.FindAction Method

Definition

Finds the information about the action method.

protected virtual System.Web.Mvc.ActionDescriptor FindAction (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ControllerDescriptor controllerDescriptor, string actionName);
abstract member FindAction : System.Web.Mvc.ControllerContext * System.Web.Mvc.ControllerDescriptor * string -> System.Web.Mvc.ActionDescriptor
override this.FindAction : System.Web.Mvc.ControllerContext * System.Web.Mvc.ControllerDescriptor * string -> System.Web.Mvc.ActionDescriptor
Protected Overridable Function FindAction (controllerContext As ControllerContext, controllerDescriptor As ControllerDescriptor, actionName As String) As ActionDescriptor

Parameters

controllerContext
ControllerContext

The controller context.

controllerDescriptor
ControllerDescriptor

The controller descriptor.

actionName
String

The name of the action.

Returns

Information about the action method.

Applies to