HttpResponseException Class
An exception that allows for a given HttpResponseMessage to be returned to the client.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
The HttpResponseException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpResponseException(HttpResponseMessage) | Initializes a new instance of the HttpResponseException class. |
![]() | HttpResponseException(HttpStatusCode) | Initializes a new instance of the HttpResponseException class. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from Exception.) |
![]() | Response | Gets the HTTP response to return to the client. |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetBaseException | (Inherited from Exception.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetObjectData | Security Critical. (Inherited from Exception.) |
![]() | GetType | (Inherited from Exception.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Exception.) |

