IActionInvoker.InvokeAction(ControllerContext, String) IActionInvoker.InvokeAction(ControllerContext, String) Method

Definition

Invokes the specified action by using the specified controller context.

public bool InvokeAction (System.Web.Mvc.ControllerContext controllerContext, string actionName);
abstract member InvokeAction : System.Web.Mvc.ControllerContext * string -> bool

Parameters

controllerContext
ControllerContext ControllerContext

The controller context.

actionName
String String

The name of the action.

Returns

true if the action was found; otherwise, false.

Applies to