ExceptionContext Constructors

Definition

Overloads

ExceptionContext()

Initializes a new instance of the ExceptionContext class.

ExceptionContext(ControllerContext, Exception)

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

ExceptionContext()

Initializes a new instance of the ExceptionContext class.

public ExceptionContext ();
Public Sub New ()

Applies to

ExceptionContext(ControllerContext, Exception)

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

public ExceptionContext (System.Web.Mvc.ControllerContext controllerContext, Exception exception);
new System.Web.Mvc.ExceptionContext : System.Web.Mvc.ControllerContext * Exception -> System.Web.Mvc.ExceptionContext
Public Sub New (controllerContext As ControllerContext, exception As Exception)

Parameters

controllerContext
ControllerContext

The controller context.

exception
Exception

The exception.

Exceptions

The exception parameter is null.

Applies to