ExceptionContext ExceptionContext ExceptionContext Class


Provides the context for using the HandleErrorAttribute class.

public class ExceptionContext : System.Web.Mvc.ControllerContext
type ExceptionContext = class
    inherit ControllerContext
Public Class ExceptionContext
Inherits ControllerContext


ExceptionContext() ExceptionContext() ExceptionContext()

Initializes a new instance of the ExceptionContext class.

ExceptionContext(ControllerContext, Exception) ExceptionContext(ControllerContext, Exception) ExceptionContext(ControllerContext, Exception)

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


Controller Controller Controller

Gets or sets the controller.

(Inherited from ControllerContext)
DisplayMode DisplayMode DisplayMode

Gets the display mode.

(Inherited from ControllerContext)
Exception Exception Exception

Gets or sets the exception object.

ExceptionHandled ExceptionHandled ExceptionHandled

Gets or sets a value that indicates whether the exception has been handled.

HttpContext HttpContext HttpContext

Gets or sets the HTTP context.

(Inherited from ControllerContext)
IsChildAction IsChildAction IsChildAction

Gets a value that indicates whether the associated action method is a child action.

(Inherited from ControllerContext)
ParentActionViewContext ParentActionViewContext ParentActionViewContext

Gets an object that contains the view context information for the parent action method.

(Inherited from ControllerContext)
RequestContext RequestContext RequestContext

Gets or sets the request context.

(Inherited from ControllerContext)
Result Result Result

Gets or sets the action result.

RouteData RouteData RouteData

Gets or sets the URL route data.

(Inherited from ControllerContext)

Applies to