HttpIOException(HttpRequestError, String, Exception) Konstruktor

Definition

Initierar en ny instans av HttpIOException klassen.

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)

Parametrar

httpRequestError
HttpRequestError

Det HttpRequestError som orsakade undantaget.

message
String

Meddelandesträngen som beskriver felet.

innerException
Exception

Undantaget som är orsaken till det aktuella undantaget.

Gäller för