SocketWrench .NET Edition

InternetDialer.OnStatusEventHandler Delegate

Represents the method that will handle the OnStatus event.

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

Parameters

sender
The source of the event.
e
A StatusEventArgs object that contains the event data.

Remarks

When you create an OnStatusEventHandler 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 OnStatusEventHandler delegate declaration.

Requirements

Namespace: SocketTools

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

See Also

SocketTools Namespace