HttpIOException(HttpRequestError, String, Exception) Constructor

Definition

Initializes a new instance of the HttpIOException class.

public HttpIOException (System.Net.Http.HttpRequestError httpRequestError, string? message = default, Exception? innerException = default);
new System.Net.Http.HttpIOException : System.Net.Http.HttpRequestError * string * Exception -> System.Net.Http.HttpIOException
Public Sub New (httpRequestError As HttpRequestError, Optional message As String = Nothing, Optional innerException As Exception = Nothing)

Parameters

httpRequestError
HttpRequestError

The HttpRequestError that caused the exception.

message
String

The message string describing the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to