What are the differences between Dispatcher.CurrentDispatcher
(in System.Windows.Threading
) and Application.Current.Dispatcher
(in System.Windows
)?
My gut tells me that Application.Current.Dispatcher
will never change and is global to all threads in the current application, while Dispatcher.CurrentDispatcher
may create a new instance of Dispatcher
depending on the thread from which it was called.
Is that correct?
If it is, is the purpose of Dispatcher.CurrentDispatcher
primarily for multi-threaded UI?