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)

function InvokeAction(
	controllerContext : ControllerContext, 
	actionName : String
) : boolean

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: