Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SshException Class

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

The exception that is thrown when an SSH error occurs.

Syntax
public class SshException : NetworkSessionException, ISerializable
Inheritance
Object
Exception
NetworkSessionException
SshException
Implements
ISerializable
Inherited Members
NetworkSessionException.ProtocolCode
NetworkSessionException.ProtocolMessage
Exception.Data
Exception.GetBaseException()
Exception.GetType()
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.SerializeObjectState
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Constructors

Name Description
SshException()

Initializes a new instance of the SshException class.

SshException(String)

Initializes a new instance of the SshException class with the specified error message.

SshException(String, Exception)

Initializes a new instance of the SshException class with the specified error message and a reference to the inner exception that is the cause of this exception.

SshException(String, Exception, SshExceptionStatus)

Initializes a new instance of the SshException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception.

Properties

Name Description
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.

Status

Gets the exception status.

Methods

Name Description
GetServerInfo()

Gets information about SSH negotiation.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies