Delen via


ResultExecutedContext Constructor (ControllerContext, ActionResult, Boolean, Exception)

Initializes a new instance of the ResultExecutedContext class.

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

Syntax

'Declaration
Public Sub New ( _
    controllerContext As ControllerContext, _
    result As ActionResult, _
    canceled As Boolean, _
    exception As Exception _
)
public ResultExecutedContext(
    ControllerContext controllerContext,
    ActionResult result,
    bool canceled,
    Exception exception
)
public:
ResultExecutedContext(
    ControllerContext^ controllerContext, 
    ActionResult^ result, 
    bool canceled, 
    Exception^ exception
)

Parameters

  • canceled
    Type: System.Boolean
    true to cancel execution; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

ResultExecutedContext Class

ResultExecutedContext Overload

System.Web.Mvc Namespace