Event Descriptions

Event Descriptions

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This section describes basic information about synchronous, asynchronous, and system events.

Synchronous Events

Synchronous events are called twice, once in the begin phase and again while the transaction is being committed or aborted. The IExStoreSyncEvents Interface has two methods, as described in the following table.

Event Description
OnSyncSave Method Called when an item is saved to the Exchange store, but before the changes are committed.
OnSyncDelete Method Called when an item is deleted from the Exchange store, but before the delete is committed.

Note  Moving an item triggers both the OnSyncDelete and OnSyncSave events.

Asynchronous Events

Asynchronous events occur after the item is committed to the store. The IExStoreAsyncEvents Interface has two methods, as shown in the following table.

Event Description
OnSave Method Called when an item is saved to the store after the changes are committed.
OnDelete Method Called when an item is deleted from the store after the delete is committed.

Note  Moving an item triggers both the OnDelete and OnSave events.

System Events

The IExStoreSystemEvents Interface has three methods, as described in the following table.

Event Description
OnTimer Method Called after a specified period of time.
OnMDBStartUp Method Called when the Exchange store MDB is started.
OnMDBShutDown Method Called when the Exchange store MDB is shut down.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.