Partager via


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

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

ActionExecutedContext Class

ActionExecutedContext Overload

System.Web.Mvc Namespace