次の方法で共有


TransportFailedException(String, String, Exception) コンストラクター

定義

TransportFailedException を構築します。

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

接続中に例外がスローされた場合は、省略可能です。

適用対象