Share via


Event Notification Priority

Event Notification Priority

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.

When registering for synchronous event notifications, you can set a priority that specifies when the notification will occur relative to the other event registrations waiting on the same event. The registration priority can have any value within the ranges shown in the following table:

Priority Decimal value Hexadecimal value
Highest (first to be notified) 0 0
Default 65535 0x0000ffff
Lowest (last to be notified) 2147483647 0x7fffffff

Use the decimal value to register the priority.

Event registrations with the same priority can fire in any order. Priorities do not apply to asynchronous event registrations.

The following illustration shows synchronous sink execution by priority.

The concept art shows synchronous event sink execution by priority. Pre-default handling sinks range in priority from 0x00000000 to 0x0000fffe, default handling sinks have a priority of 0x0000ffff, and post-default handling sinks range in priority from 0x7fffffff to 0xffffffff.

Recursive Sink Firing Order

Recursive event notifications in the parent folder occur before event notifications in the subfolders.

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.