Export (0) Print
Expand All

Calling Event Sinks

EWS Managed API

Topic Last Modified: 2006-06-12

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.

Aa579146.8e7b9bde-a836-4065-9124-3da55b67a5fa(en-us,EXCHG.80).gif

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.

Aa579146.note(en-us,EXCHG.80).gifNote:
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.
Show:
© 2015 Microsoft