TelnetException Class
Namespace: Rebex.Net
Assembly: Rebex.Telnet.dll (version 7.0.9119)
The exception that is thrown when a Telnet error occurs.
Syntax
public class TelnetException : NetworkSessionException, ISerializable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
TelnetException() | Initializes a new instance of the TelnetException class. |
TelnetException(String) | Initializes a new instance of the TelnetException class with the specified error message. |
TelnetException(String, Exception) | Initializes a new instance of the TelnetException class with the specified error message 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 error status. Inherited from NetworkSessionException. |