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)

'Declaration
Function InvokeAction ( _
	controllerContext As ControllerContext, _
	actionName As String _
) As Boolean
'Usage
Dim instance As IActionInvoker 
Dim controllerContext As ControllerContext 
Dim actionName As String 
Dim returnValue As Boolean 

returnValue = instance.InvokeAction(controllerContext, _
	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: