I know that Dispatcher.BeginInvoke
is needed whenever I'm updating the GUI on a background thread. But how do I determine at runtime if it is needed?
Asked
Active
Viewed 330 times
0

Dave Clemmer
- 3,741
- 12
- 49
- 72

Jonathan Allen
- 68,373
- 70
- 259
- 447
1 Answers
3
Call Dispatcher.CheckAccess.

itowlson
- 73,686
- 17
- 161
- 157
-
1Grr. I hate it when they hide useful functions from the Intillisense. – Jonathan Allen Jan 25 '10 at 23:52