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)
'Declaration Public Sub New ( _ controllerContext As ControllerContext, _ result As ActionResult, _ canceled As Boolean, _ exception As Exception _ ) 'Usage Dim controllerContext As ControllerContext Dim result As ActionResult Dim canceled As Boolean Dim exception As Exception Dim instance As New ResultExecutedContext(controllerContext, _ result, canceled, 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.
| Exception | Condition |
|---|---|
| ArgumentNullException | The result parameter is Nothing. |
Show: