Bagikan melalui


HttpIOException(HttpRequestError, String, Exception) Konstruktor

Definisi

Menginisialisasi instans baru kelas HttpIOException.

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)

Parameter

httpRequestError
HttpRequestError

Yang HttpRequestError menyebabkan pengecualian.

message
String

String pesan yang menjelaskan kesalahan.

innerException
Exception

Pengecualian yang merupakan penyebab pengecualian saat ini.

Berlaku untuk