Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExceptionContext Class

 

Provides the context for using the HandleErrorAttribute class.

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


public class ExceptionContext : ControllerContext

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.

NameDescription
System_CAPS_pubpropertyController

Gets or sets the controller.(Inherited from ControllerContext.)

System_CAPS_pubpropertyDisplayMode

Gets the display mode.(Inherited from ControllerContext.)

System_CAPS_pubpropertyException

Gets or sets the exception object.

System_CAPS_pubpropertyExceptionHandled

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

System_CAPS_pubpropertyHttpContext

Gets or sets the HTTP context.(Inherited from ControllerContext.)

System_CAPS_pubpropertyIsChildAction

Gets a value that indicates whether the associated action method is a child action.(Inherited from ControllerContext.)

System_CAPS_pubpropertyParentActionViewContext

Gets an object that contains the view context information for the parent action method.(Inherited from ControllerContext.)

System_CAPS_pubpropertyRequestContext

Gets or sets the request context.(Inherited from ControllerContext.)

System_CAPS_pubpropertyResult

Gets or sets the action result.

System_CAPS_pubpropertyRouteData

Gets or sets the URL route data.(Inherited from ControllerContext.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft