HttpIOException(HttpRequestError, String, Exception) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.