Export (0) Print
Expand All

IActionInvoker.InvokeAction Method

Invokes the specified action by using the specified controller context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

bool InvokeAction(
	ControllerContext controllerContext,
	string actionName
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

actionName
Type: System.String

The name of the action.

Return Value

Type: System.Boolean
true if the action was found; otherwise, false.
Show:
© 2014 Microsoft