Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The parameters or controllerContext parameter is null reference (Nothing in Visual Basic). |