HttpRequestException Class
A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes.
Namespace: System.Net.Http
Assembly: System.Net.Http (in System.Net.Http.dll)
The HttpRequestException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpRequestException() | Initializes a new instance of the HttpRequestException class. |
![]() | HttpRequestException(String) | Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception. |
![]() | HttpRequestException(String, Exception) | Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception and an inner exception. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from Exception.) |
![]() | 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.) |
Show:



