SocketTools .NET Edition

TelnetClient.OnError Event

Occurs when an client operation fails.

[Visual Basic]
Public Event OnError As OnErrorEventHandler
[C#]
public event OnErrorEventHandler OnError;

Event Data

The event handler receives an argument of type TelnetClient.ErrorEventArgs containing data related to this event. The following TelnetClient.ErrorEventArgs properties provide information specific to this event.

Property Description
Description Gets a value which describes the last error that has occurred.
Error Gets a value which specifies the last error that has occurred.

Remarks

The OnError event occurs when a client operation fails.

See Also

TelnetClient Class | SocketTools Namespace