Share via


ReflectedActionDescriptor.Execute Method

Definition

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

public override object Execute (System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IDictionary<string,object> parameters);
override this.Execute : System.Web.Mvc.ControllerContext * System.Collections.Generic.IDictionary<string, obj> -> obj
Public Overrides Function Execute (controllerContext As ControllerContext, parameters As IDictionary(Of String, Object)) As Object

Parameters

controllerContext
ControllerContext

The controller context.

parameters
IDictionary<String,Object>

The parameters.

Returns

The action return value.

Exceptions

The parameters or controllerContext parameter is null.

Applies to