Table of Contents

Class ScpException

Namespace
Renci.SshNet.Common
Assembly
Renci.SshNet.dll

The exception that is thrown when an SCP error occurs.

public class ScpException : SshException, ISerializable

Inheritance

Implements

Inherited Members

Constructors

ScpException()

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

public ScpException()

ScpException(string?)

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

public ScpException(string? message)

Parameters

message string?

The message that describes the error.

ScpException(string?, Exception?)

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

public ScpException(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.