Platform SDK: Exchange 2000 Server

Sink Priority

[This is preliminary documentation and subject to change.]

When registering for synchronous event notifications you set a priority that dictates when the notification will occur relative to the other sink registrations waiting on the same event. The registration priority can have any value in the following range:

Priority Value
Highest (First to be notified.) 0x00000000
Default 0x0000ffff
Lowest (Last to be notified.) 0xffffffff

The firing order of multiple sinks registered with the same priority is indeterminate.

The following diagram graphically depicts the ordering of synchronous sink execution based upon priority.

You do not specify priorities for asynchronous sink registrations because they are notifications and not run in order and the store thread does not wait for asynchronous threads to finish.

Recursive Sink Firing Order

[This is preliminary documentation and subject to change.]

Synchronous recursive sinks receive event notifications before any sink registration on a subfolder. If there are multiple recursive sink registrations, the sink priorities are used to decide which notification occurs first.