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
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- result
Type: System.Web.Mvc.ActionResult
The result object.
- canceled
Type: System.Boolean
true to cancel execution; otherwise, false.
- exception
Type: System.Exception
The exception object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The result parameter is null reference (Nothing in Visual Basic). |