Share via


CancelEventHandler Delegate

This Package | All Packages

Identifies an event handler method.

package com.ms.wfc.core

public multicast delegate
void CancelEventHandler( Object
sender**, CancelEvent** e );

Remarks

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

When you create a CancelEventHandler 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 .