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:
virtual Object^ Execute(
	ControllerContext^ controllerContext, 
	IDictionary<String^, Object^>^ parameters
) override

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 nullptr.

Show: