Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Web Store supports client notification of various synchronous and asynchronous store and system events. Event sinks are COM objects that implement a particular event interface. All Web Store event sinks run out-of-process with respect to the source process and thread.
Synchronous events are used to intercept a particular operation before it is actually committed to the store. The event is called synchronous because sinks run at the time the operation is being performed. For example, when a user requests to save an item into the store, the OnSyncSave event occurs. Event sinks registered for notification of this event are run as part of the actual save operation, and each sink can possibly abort the operation before it completes.
Asynchronous events run at some point after a particular operation has completed. These sinks cannot abort the operation as it occurs, but instead are simply notified that the event occurred.
For example, a workflow application could initiate a workflow process when an object is saved to a particular folder. Applications such as virus scanning may use one event model across numerous stores.