Class HttpRequestException
A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes.
public class HttpRequestException : Exception
- Inheritance
-
HttpRequestException
- Inherited Members
- Extension Methods
Constructors
HttpRequestException()
Initializes a new instance of the HttpRequestException class.
public HttpRequestException()
HttpRequestException(string)
Initializes a new instance of the HttpRequestException class.
public HttpRequestException(string message)
Parameters
message
stringA message that describes the current exception.
HttpRequestException(string, Exception)
Initializes a new instance of the HttpRequestException class.
public HttpRequestException(string message, Exception inner)