Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Events occur when Web Store items are saved or deleted, when an information store is starting or stopping, or when a time interval has elapsed. You can register to be notified of these events, and can write COM “event sink” classes to receive notification of these events. Your sink class can then respond to these notifications programmatically. Exchange defines the sink class interfaces and methods that correspond to the events. You implement these Interfaces in your sinks in order to receive event notifications.
Typical applications that make use of event sinks include:
You can register to receive event notifications for when workflow items are moved in the Web Store. Each time a workflow item is saved your event sink can be notified so that you can programmatically handle the item as it moves along on its workflow path.
Event sinks can validate or check items when they are saved to the store. Your sink class might handle a delete notification by checking some custom criteria to see if the person has the rights to delete the item. Or when a save occurs you might check the formatting of the item being saved.
Whenever an item is deleted in the store from a particular location, other items may need to be modified or deleted that are outside the Web Store. Your sink could automatically handle this task.