ScpException Class
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
The exception that is thrown when an error occurs while using Scp component.
Syntax
public class ScpException : NetworkSessionException, ISerializable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
ScpException() | Initializes a new instance of the ScpException class. |
ScpException(String) | Initializes a new instance of the ScpException class with the specified error message. |
ScpException(String, ScpExceptionStatus) | Initializes a new instance of the ScpException class with the specified error message and status. |
ScpException(String, Exception) | Initializes a new instance of the ScpException class with the specified error message and a reference to the inner exception that is the cause of this exception. |
ScpException(String, Exception, ScpExceptionStatus) | Initializes a new instance of the ScpException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception. |
Properties
Name | Description |
---|---|
ProtocolCode | Gets the protocol error code, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException. |
ProtocolMessage | Gets the protocol error message, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException. |
Status | Gets the status of the response. |
Transferred | Gets the amount od data transferred before the exception occurred. |