ExceptionContext Constructor (ControllerContext, Exception)
Visual Studio 2010
Initializes a new instance of the ExceptionContext class for the specified exception by using the specified controller context.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- exception
- Type: System.Exception
The exception.
| Exception | Condition |
|---|---|
| ArgumentNullException | The exception parameter is null. |
Community Additions
ADD
Show: