System.Net.Http.HttpRequestException
A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes.
public HttpRequestException()
Initializes a new instance of the HttpRequestException class.
Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception.
Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception and an inner exception.