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
Public Function InvokeAction (controllerContext As ControllerContext, actionName As String) As Boolean

Parameters

controllerContext
ControllerContext

The controller context.

actionName
String

The name of the action.

Returns

true if the action was found; otherwise, false.

Applies to