다음을 통해 공유


Event Notification Priority

Topic Last Modified: 2006-06-11

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.

Aa579388.7362324f-2848-42ea-952a-f2d53796c151(en-us,EXCHG.80).gif

Recursive Sink Firing Order

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