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.

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

'Declaration
Public Sub New ( _
	controllerContext As ControllerContext, _
	exception As Exception _
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
exception
Type: System.Exception
The exception.

ExceptionCondition
ArgumentNullException

The exception parameter is Nothing.

Community Additions

ADD
Show: