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)

Syntax

'Declaration
Public Overrides Function Execute ( _
    controllerContext As ControllerContext, _
    parameters As IDictionary(Of String, Object) _
) As Object
public override Object Execute(
    ControllerContext controllerContext,
    IDictionary<string, Object> parameters
)
public:
virtual Object^ Execute(
    ControllerContext^ controllerContext, 
    IDictionary<String^, Object^>^ parameters
) override

Parameters

Return Value

Type: System.Object
The action return value.

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

ReflectedActionDescriptor Class

System.Web.Mvc Namespace