SocketTools .NET Edition

DnsClient.OnError Event

Occurs when a method fails.

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

Event Data

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

Property Description
Description Returns a description of the last error that occurred.
Error Returns the value of the last error that has occurred.

Remarks

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

Property Description
Error Returns the value of the last error that has occurred
Description Returns a description of the last error that occurred

See Also

DnsClient Class | SocketTools Namespace