I just realized in a C# .Net 4.0 WPF background thread that this doesn\'t work (compiler error):
Dispatcher.Invoke(DispatcherPriority.Normal, delegate() {
I would like to point out even more cleaner code example to Svick's one, after all we all like one liners don't we?
Dispatcher.Invoke((Action) delegate { /* your method here */ });