SocketTools .NET Edition

DnsClient.OnErrorEventHandler Delegate

Represents the method that will handle the OnError event.

[Visual Basic]
Public Delegate Sub DnsClient.OnErrorEventHandler( _
   ByVal sender As Object, _
   ByVal e As ErrorEventArgs _
)
[C#]
public delegate void DnsClient.OnErrorEventHandler(
   object sender,
   ErrorEventArgs e
);

Parameters

sender
The source of the event.
e
An ErrorEventArgs that contains the event data.

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

Requirements

Namespace: SocketTools

Assembly: SocketTools.DnsClient (in SocketTools.DnsClient.dll)

See Also

SocketTools Namespace