0

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

Prince Ashitaka
  • 8,623
  • 12
  • 48
  • 71

1 Answers1

1

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.

Robert Harvey
  • 178,213
  • 47
  • 333
  • 501