SshConnectionException
The exception that is thrown when connection was terminated.
Gets the disconnect reason if provided by the server or client. Otherwise None.
public SshConnectionException()
Initializes a new instance of the SshConnectionException class.
Initializes a new instance of the SshConnectionException class.
Initializes a new instance of the SshConnectionException class.
public SshConnectionException(string message, DisconnectReason disconnectReasonCode, Exception inner)
Initializes a new instance of the SshConnectionException class.
Initializes a new instance of the SshConnectionException class.