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)

public override function Execute(
	controllerContext : ControllerContext, 
	parameters : IDictionary<String, Object>
) : Object

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

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

The parameters.

Return Value

Type: System.Object
The action return value.

ExceptionCondition
ArgumentNullException

The parameters or controllerContext parameter is a null reference (Nothing in Visual Basic).

Show: