This Package | All Packages

ConnectionEventHandler Delegate

Identifies a handler method for events performed with a Connection object.

package com.ms.wfc.data

public delegate
void ConnectionEventHandler( Object
sender, ConnectionEvent e );

Remarks

The syntax of the ConnectionEventHandler delegate specifies the signature for the event handler, where sender is the source of the event and e is a ConnectionEvent object that provides the event data.

When you create a ConnectionEventHandler delegate, you specify the method that will handle the event. Once the delegate is assigned to the event, the handler method is automatically invoked whenever the event is triggered.

For more information about delegates, see Handling Events in WFC. For information about ADO events in WFC, see ADO Events in ADO/WFC.