SftpException Class
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
The exception that is thrown when an error occurs while using Sftp component.
Syntax
public class SftpException : NetworkSessionException, ISerializable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
SftpException() | Initializes a new instance of the SftpException class. |
SftpException(String) | Initializes a new instance of the SftpException class with the specified error message. |
SftpException(String, SftpExceptionStatus) | Initializes a new instance of the SftpException class with the specified error message and status. |
SftpException(String, Exception) | Initializes a new instance of the SftpException class with the specified error message and a reference to the inner exception that is the cause of this exception. |
SftpException(String, Exception, SftpExceptionStatus) | Initializes a new instance of the SftpException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception. |
Properties
Name | Description |
---|---|
Code | Gets the SftpErrorCode of the exception. |
LocalPath | Gets the path of the local file or directory which is currently processed or null (Nothing in Visual Basic) if not available. |
ProblemType | Gets the type of the problem which occurred at multi-file operation. |
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. |
RemotePath | Gets the path of the remote file or directory which is currently processed or null (Nothing in Visual Basic) if not available. |
Status | Gets the status of the response. |
Transferred | Gets the amount of data transferred before the exception occurred. |