ActionExecutingContext Constructor (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.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Sub New ( _
    controllerContext As ControllerContext, _
    actionDescriptor As ActionDescriptor, _
    actionParameters As IDictionary(Of String, Object) _
)
public ActionExecutingContext(
    ControllerContext controllerContext,
    ActionDescriptor actionDescriptor,
    IDictionary<string, Object> actionParameters
)
public:
ActionExecutingContext(
    ControllerContext^ controllerContext, 
    ActionDescriptor^ actionDescriptor, 
    IDictionary<String^, Object^>^ actionParameters
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The ActionParameters or actionDescriptor parameter is null reference (Nothing in Visual Basic).

See Also

Reference

ActionExecutingContext Class

ActionExecutingContext Overload

System.Web.Mvc Namespace