mardi 21 avril 2015

What is difference between Control.BeginInvoke() and Dispatcher.BeginInvoke()?

Recently I used Control.BeginInvoke() method to put a method call into queue to be called on UI thread later. I also know there is Dispatcher.BeginInvoke() method. I read some general resources (like this on CodeProject) and still have the question whether behavior of Control.BeginInvoke() is different from Dispatcher.BeginInvoke() or not.

I understand that analogical question can be asked for difference between Control.Invoke() and Dispatcher.Invoke().

Aucun commentaire:

Enregistrer un commentaire