SshException Constructor
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
SshException()
Initializes a new instance of the SshException class.
Declaration
public SshException()
SshException(String)
Initializes a new instance of the SshException class with the specified error message.
Declaration
public SshException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
SshException(String, Exception)
Initializes a new instance of the SshException class with the specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public SshException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | inner | The exception that is the cause of the current exception. |
SshException(String, Exception, SshExceptionStatus)
Initializes a new instance of the SshException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception.
Declaration
public SshException(string message, Exception inner, SshExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | inner | The exception that is the cause of the current exception. |
SshExceptionStatus | status | One of the SshExceptionStatus values. |