0

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?

4

1 回答 1

3

Call Dispatcher.CheckAccess.

于 2010-01-25T23:50:54.003 回答