ActionExecutingContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ActionExecutingContext() |
Initializes a new instance of the ActionExecutingContext class. |
ActionExecutingContext(ControllerContext, ActionDescriptor, IDictionary<String,Object>) |
Initializes a new instance of the ActionExecutingContext class by using the specified controller context, action descriptor, and action-method parameters. |
ActionExecutingContext()
Initializes a new instance of the ActionExecutingContext class.
public ActionExecutingContext ();
Public Sub New ()
Applies to
ActionExecutingContext(ControllerContext, ActionDescriptor, IDictionary<String,Object>)
Initializes a new instance of the ActionExecutingContext class by using the specified controller context, action descriptor, and action-method parameters.
public ActionExecutingContext (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, System.Collections.Generic.IDictionary<string,object> actionParameters);
new System.Web.Mvc.ActionExecutingContext : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.ActionExecutingContext
Public Sub New (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor, actionParameters As IDictionary(Of String, Object))
Parameters
- controllerContext
- ControllerContext
The controller context.
- actionDescriptor
- ActionDescriptor
The action descriptor.
- actionParameters
- IDictionary<String,Object>
The action-method parameters.
Exceptions
The ActionParameters
or actionDescriptor
parameter is null.