ControllerActionInvoker.InvokeActionMethod Method

Invokes the specified action method by using the specified parameters and the controller context.

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

'Declaration
Protected Overridable Function InvokeActionMethod ( _
	controllerContext As ControllerContext, _
	actionDescriptor As ActionDescriptor, _
	parameters As IDictionary(Of String, Object) _
) As ActionResult
'Usage
Dim controllerContext As ControllerContext 
Dim actionDescriptor As ActionDescriptor 
Dim parameters As IDictionary(Of String, Object)
Dim returnValue As ActionResult 

returnValue = Me.InvokeActionMethod(controllerContext, _
	actionDescriptor, parameters)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

actionDescriptor
Type: System.Web.Mvc.ActionDescriptor

The action descriptor.

parameters
Type: System.Collections.Generic.IDictionary(Of String, Object)

The parameters.

Return Value

Type: System.Web.Mvc.ActionResult
The result of executing the action method.
Show: