共用方式為


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

做為目前例外狀況發生原因的例外狀況。

適用於