Dispatcher.Invoke () takes the first argument of DispatcherPriority. This is a relatively crude priority scheme. Otherwise, it functions as a FIFO queue, primarily serving first. With everything that makes sense, priority can only be significant if the call queue is backed up. The condition you want to avoid. And a rather unpleasant factory error, if it works that way, the code will execute in an unpredictable order depending on the speed and load of the machine.
source
share