SocketTools .NET Edition

IcmpClient.OnTraceEventHandler Delegate

Represents the method that will handle the OnTrace event.

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

Parameters

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

Remarks

When you create an OnTraceEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, until you remove the delegate.

Note that the declaration of your event handler must have the same parameters as the OnTraceEventHandler delegate declaration.

Requirements

Namespace: SocketTools

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

See Also

SocketTools Namespace