ActionExecutingContext Constructor (ControllerContext, ActionDescriptor, IDictionary<String, Object>)
Visual Studio 2010
Initializes a new instance of the ActionExecutingContext class by using the specified controller context, action descriptor, and action-method parameters.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public ActionExecutingContext( ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary<string, Object> actionParameters )
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- actionDescriptor
- Type: System.Web.Mvc.ActionDescriptor
The action descriptor.
- actionParameters
- Type: System.Collections.Generic.IDictionary<String, Object>
The action-method parameters.
| Exception | Condition |
|---|---|
| ArgumentNullException | The ActionParameters or actionDescriptor parameter is null. |
Community Additions
ADD
Show: