ResultExecutingContext Constructor (ControllerContext, ActionResult)
Initializes a new instance of the ResultExecutingContext class by using the specified controller context and action result.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
controllerContext As ControllerContext, _
result As ActionResult _
)
public ResultExecutingContext(
ControllerContext controllerContext,
ActionResult result
)
public:
ResultExecutingContext(
ControllerContext^ controllerContext,
ActionResult^ result
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- result
Type: System.Web.Mvc.ActionResult
The action result.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The result parameter is null reference (Nothing in Visual Basic). |