Table of Contents

Class SshException

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

The exception that is thrown when an SSH exception occurs.

public class SshException : Exception, ISerializable

Inheritance

Derived

Implements

Inherited Members

Constructors

SshException()

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

public SshException()

SshException(string?)

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

public SshException(string? message)

Parameters

message string?

The error message that explains the reason for the exception.

SshException(string?, Exception?)

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

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