ExceptionContext Class
Represents an exception and the contextual data associated with it when it was caught.
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | ExceptionContext(Exception^, ExceptionContextCatchBlock^) | Initializes a new instance of the ExceptionContext class. |
![]() | ExceptionContext(Exception^, ExceptionContextCatchBlock^, HttpActionContext^) | Initializes a new instance of the ExceptionContext class. |
![]() | ExceptionContext(Exception^, ExceptionContextCatchBlock^, HttpRequestMessage^) | Initializes a new instance of the ExceptionContext class. |
![]() | ExceptionContext(Exception^, ExceptionContextCatchBlock^, HttpRequestMessage^, HttpResponseMessage^) | Initializes a new instance of the ExceptionContext class. |
| Name | Description | |
|---|---|---|
![]() | ActionContext | Gets the action context in which the exception occurred, if available. |
![]() | CatchBlock | Gets the catch block in which the exception was caught. |
![]() | ControllerContext | Gets the controller context in which the exception occurred, if available. |
![]() | Exception | Gets the caught exception. |
![]() | Request | Gets the request being processed when the exception was caught. |
![]() | RequestContext | Gets the request context in which the exception occurred. |
![]() | Response | Gets the response being sent when the exception was caught. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (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.


