ReflectedActionDescriptor.Execute Method

Executes the specified controller context by using the specified action-method parameters.

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

'Declaration
Public Overrides Function Execute ( _
	controllerContext As ControllerContext, _
	parameters As IDictionary(Of String, Object) _
) As Object
'Usage
Dim instance As ReflectedActionDescriptor 
Dim controllerContext As ControllerContext 
Dim parameters As IDictionary(Of String, Object)
Dim returnValue As Object 

returnValue = instance.Execute(controllerContext, _
	parameters)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

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

The parameters.

Return Value

Type: System.Object
The action return value.

ExceptionCondition
ArgumentNullException

The parameters or controllerContext parameter is Nothing.

Show: