語言

HttpIOException(HttpRequestError, String, Exception) 建構函式

定義

初始化 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)

參數

httpRequestError
HttpRequestError

那 HttpRequestError 就是例外的來源。

message
String

描述錯誤的訊息串。

innerException
Exception

該例外即為當前例外的原因。

適用於