Synchronous Events

Synchronous Events

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.

Synchronous events are processed in the context of an OLE DB transaction and occur before the item has been committed to the Exchange store. Each synchronous event is called twice, once for the begin phase, and once for the commit or abort phase. The begin phase is called first for all qualifying sinks. Then the commit or abort phase is called for the same sinks. Exchange waits for each synchronous event sink to finish before calling the next.

There are two synchronous events that fire in the Exchange store: OnSyncSave and OnSyncDelete.

Name When the event fires
OnSyncSave When an item is saved to the store, before the changes are committed.
OnSyncDelete When an item is deleted from the store, before the deletion is committed.

The save and delete events also handle other events, such as moving or copying an item. Copying an item in a store generates a save event. A move causes both the save and delete events.

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.