ExceptionContext Constructor

 

Initializes a new instance of the ExceptionContext class.

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

NameDescription
System_CAPS_pubmethodExceptionContext()

Initializes a new instance of the ExceptionContext class.

System_CAPS_pubmethodExceptionContext(ControllerContext, Exception)

Initializes a new instance of the ExceptionContext class for the specified exception by using the specified controller context.

Return to top

ExceptionContext Constructor ()

Initializes a new instance of the ExceptionContext class.

No code example is currently available or this language may not be supported.
Return to top

ExceptionContext Constructor (ControllerContext, Exception)

Initializes a new instance of the ExceptionContext class for the specified exception by using the specified controller context.

No code example is currently available or this language may not be supported.

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

exception
Type: System.Exception

The exception.

Exception Condition
ArgumentNullException

The exception parameter is null.

Return to top
Show: