Share via


Calling Event Sinks

Calling Event Sinks

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.

An event sink can be a Component Object Model (COM) class with interfaces and event methods defined by Microsoft® Exchange. To notify the event sink, Exchange creates an instance of the event sink COM class, obtains the appropriate interface, and calls the appropriate event method.

The following illustration shows how Exchange calls the event sink.

The concept art shows an item being saved to the Exchange store, generating a Save event. Exchange then obtains the required interface in the event sink and calls the event method for the given event notification.

A An item is saved to the store, causing a store event.
B Exchange obtains the required interface in the event sink.
C Exchange calls the event method for the given event notification.

Note  The same process occurs if the event sink is a script. The only difference is that a special COM object, the Script Host, is called. The Script Host then runs the appropriate event method in the script.

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.