TransportFailedException(String, String, Exception) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public TransportFailedException (string transportType, string message, Exception innerException = default);
public TransportFailedException (string transportType, string message, Exception? innerException = default);
new Microsoft.AspNetCore.Http.Connections.Client.TransportFailedException : string * string * Exception -> Microsoft.AspNetCore.Http.Connections.Client.TransportFailedException
Public Sub New (transportType As String, message As String, Optional innerException As Exception = Nothing)
參數
- transportType
- String
無法連線的傳輸名稱。
- message
- String
傳輸失敗的原因。
- innerException
- Exception
嘗試連線時擲回選擇性的額外例外狀況。