Sdílet prostřednictvím


TransportFailedException(String, String, Exception) Konstruktor

Definice

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)

Parametry

transportType
String

Název přenosu, který se nepodařilo připojit.

message
String

Důvod selhání přenosu

innerException
Exception

Volitelná výjimka navíc, pokud byla vyvoláná při pokusu o připojení.

Platí pro