ActionExecutedContext Constructor (ControllerContext, ActionDescriptor, Boolean, Exception)
Initializes a new instance of the ActionExecutedContext class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
controllerContext As ControllerContext, _
actionDescriptor As ActionDescriptor, _
canceled As Boolean, _
exception As Exception _
)
public ActionExecutedContext(
ControllerContext controllerContext,
ActionDescriptor actionDescriptor,
bool canceled,
Exception exception
)
public:
ActionExecutedContext(
ControllerContext^ controllerContext,
ActionDescriptor^ actionDescriptor,
bool canceled,
Exception^ exception
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- actionDescriptor
Type: System.Web.Mvc.ActionDescriptor
The action method descriptor.
- canceled
Type: System.Boolean
true if the action is canceled.
- exception
Type: System.Exception
The exception object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The actionDescriptor parameter is null reference (Nothing in Visual Basic). |