Class SftpPathNotFoundException
- Namespace
- Renci.SshNet.Common
- Assembly
- Renci.SshNet.dll
The exception that is thrown when file or directory is not found.
public class SftpPathNotFoundException : SftpException, ISerializableInheritance
Implements
Inherited Members
Constructors
SftpPathNotFoundException()
Initializes a new instance of the Renci.SshNet.Common.SftpPathNotFoundException class.
public SftpPathNotFoundException()SftpPathNotFoundException(string?)
Initializes a new instance of the Renci.SshNet.Common.SftpPathNotFoundException class.
public SftpPathNotFoundException(string? message)Parameters
- messagestring?
- 
The message that describes the error. 
SftpPathNotFoundException(string?, string?)
Initializes a new instance of the Renci.SshNet.Common.SftpPathNotFoundException class.
public SftpPathNotFoundException(string? message, string? path)Parameters
SftpPathNotFoundException(string?, Exception?)
Initializes a new instance of the Renci.SshNet.Common.SftpPathNotFoundException class.
public SftpPathNotFoundException(string? message, Exception? innerException)Parameters
- messagestring?
- 
The error message that explains the reason for the exception. 
- innerExceptionException?
- 
The exception that is the cause of the current exception, or a null reference ( Nothingin Visual Basic) if no inner exception is specified.
SftpPathNotFoundException(string?, string?, Exception?)
Initializes a new instance of the Renci.SshNet.Common.SftpPathNotFoundException class.
public SftpPathNotFoundException(string? message, string? path, Exception? innerException)Parameters
- messagestring?
- 
The error message that explains the reason for the exception. 
- pathstring?
- 
The path that cannot be found. 
- innerExceptionException?
- 
The exception that is the cause of the current exception. 
Properties
Path
Gets the path that cannot be found.
public string? Path { get; }