Not only
Control.Invoke
, also
Dispatcher.Invoke
. Not only
Invoke
, also
BeginInvoke
.
Control.Invoke
is only for
System.Windows.Forms
, but Dispatcher works both for Forms and WPF.
Please read my past Answers on the topic, very detailed:
Control.Invoke() vs. Control.BeginInvoke()[
^],
Problem with Treeview Scanner And MD5[
^].
Also, there are more
Invoke
methods, of events and delegates, and the method invocation in Reflection (see the Answer by Girish) in particular.
—SA