Can anyone tell me that when using dispatcher and when synchronization contaxes class?
For the moment now I am using Dispatcher to work with the background thread, then I'll see the synchronizationcontent .
AFAIK, when using WPF, synchronization.context.Current Type the object that is actually just a cover around the Dispatcher object and post and send methods only Dispatcher.BeginInvoke and Representatives for Dispatcher. Call .
So if you decide to use the Synchronization Contex , then I think that you end the call despatcher behind the screen
besides I think it is a bit cumbersome to use Synchronization Contestex because all the threads in the context of the current reference need to call in their UI.
Comments
Post a Comment