Initializes a new instance of the ScpException 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 ScpExceptionStatus _ ) |
C# |
---|
public ScpException( string message, ScpExceptionStatus status ) |
Parameters
- message
- Type: System..::..String
The message that describes the error.
- status
- Type: Rebex.Net..::..ScpExceptionStatus
One of the ScpExceptionStatus values.