Initializes a new instance of the SftpException class with the specified error message and status.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ message As String, _ status As SftpExceptionStatus _ ) |
C# |
---|
public SftpException( string message, SftpExceptionStatus status ) |
Parameters
- message
- Type: System..::..String
The message that describes the error.
- status
- Type: Rebex.Net..::..SftpExceptionStatus
One of the SftpExceptionStatus values.