ExceptionHandlerContext Class
Represents the context within which unhandled exception handling occurs.
Namespace: System.Web.Http.ExceptionHandling
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.ExceptionHandling.ExceptionHandlerContext
Syntax
public class ExceptionHandlerContext
public ref class ExceptionHandlerContext
type ExceptionHandlerContext = class end
Public Class ExceptionHandlerContext
Constructors
Name | Description | |
---|---|---|
![]() |
ExceptionHandlerContext(ExceptionContext) | Initializes a new instance of the ExceptionHandlerContext class. |
Properties
Name | Description | |
---|---|---|
![]() |
CatchBlock | Gets the catch block in which the exception was caught. |
![]() |
Exception | Gets the caught exception. |
![]() |
ExceptionContext | Gets the exception context providing the exception and related data. |
![]() |
Request | Gets the request being processed when the exception was caught. |
![]() |
RequestContext | Gets the request context in which the exception occurred. |
![]() |
Result | Gets or sets the result providing the response message when the exception is handled. |
Methods
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.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.ExceptionHandling Namespace
Return to top