Constructor
HttpRequestException constructor
HttpRequestException(string) #
Initializes a new instance of the HttpRequestException class with a specified error message.
public HttpRequestException(string message)Parameters #
message string
The message that describes the error.
HttpRequestException(string, Exception?) #
Initializes a new instance of the HttpRequestException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public HttpRequestException(string message, Exception? innerException)Parameters #
message string
The message that describes the error.
innerException Exception?
The exception that is the cause of the current exception, or null if no inner exception is specified.