IActionInvoker.InvokeAction Method (ControllerContext, String)

 

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.

Return to top
Show: