Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes.
System.Object
System.Exception
System.Net.Http.HttpRequestException
Namespace: System.Net.Http
Assembly: System.Net.Http (in System.Net.Http.dll)
'Declaration
<SerializableAttribute> _
Public Class HttpRequestException _
Inherits Exception
'Usage
Dim instance As HttpRequestException
[SerializableAttribute]
public class HttpRequestException : Exception
[SerializableAttribute]
public ref class HttpRequestException : public Exception
[<SerializableAttribute>]
type HttpRequestException =
class
inherit Exception
end
public class HttpRequestException extends Exception
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. |
Top
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.) |
Top
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.) |
Top
Name | Description | |
---|---|---|
![]() |
SerializeObjectState | (Inherited from Exception.) |
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.