SftpException Constructor
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)
SftpException()
Initializes a new instance of the Sftp
Declaration
public SftpException()
Remarks
This constructor initializes the Message property of the new instance to a message that describes the general error.
SftpException(String)
Initializes a new instance of the Sftp
Declaration
public SftpException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
SftpException(String, SftpExceptionStatus)
Initializes a new instance of the Sftp
Declaration
public SftpException(string message, SftpExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Sftp |
status | One of the Sftp |
SftpException(String, Exception)
Initializes a new instance of the Sftp
Declaration
public SftpException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
SftpException(String, Exception, SftpExceptionStatus)
Initializes a new instance of the Sftp
Declaration
public SftpException(string message, Exception innerException, SftpExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
Sftp |
status | One of the Sftp |