Prince Ashitaka
Prince Ashitaka

Reputation: 8773

What is the use of DispatcherPriority.Invalid and DispatcherPriority.InActive?

Having trouble understanding what are the uses of DispatcherPriority.Invalid and DispatcherPriority.InActive.

Upvotes: 0

Views: 249

Answers (1)

Robert Harvey
Robert Harvey

Reputation: 180858

The documentation states that Inactive means that "operations are not processed," which corresponds to a priority of zero, and Invalid pretty much means what it says.

Note that in this Priority Queue code, Invalid is used as a return state for the MaxPriority method when the queue contains no Priority Chains.

Upvotes: 1

Related Questions