A lot of examples suggest you use the Application layout root dispatcher, but Shawn Wildermuth (as is so often the case, thanks Shawn!) has the right answer. You need to use the Dispatcher in the Deployment class as such.
Deployment.Current.Dispatcher.BeginInvoke( () => results.Text = "Pooled Dispatcher Worked");
Works like a charm.
No comments:
Post a Comment