Table of Contents

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, ISerializable

Inheritance

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

message string?

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

message string?

The message that describes the error.

path string?

SftpPathNotFoundException(string?, Exception?)

Initializes a new instance of the Renci.SshNet.Common.SftpPathNotFoundException class.

public SftpPathNotFoundException(string? message, Exception? innerException)

Parameters

message string?

The error message that explains the reason for the exception.

innerException Exception?

The exception that is the cause of the current exception, or a null reference (Nothing in 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

message string?

The error message that explains the reason for the exception.

path string?

The path that cannot be found.

innerException Exception?

The exception that is the cause of the current exception.

Properties

Path

Gets the path that cannot be found.

public string? Path { get; }

Property Value

string?