Sdílet prostřednictvím


HttpIOException(HttpRequestError, String, Exception) Konstruktor

Definice

Inicializuje novou instanci HttpIOException třídy .

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)

Parametry

httpRequestError
HttpRequestError

Hodnota HttpRequestError , která způsobila výjimku.

message
String

Řetězec zprávy popisující chybu.

innerException
Exception

Výjimka, která je příčinou aktuální výjimky

Platí pro