I am working on a Windows 8 Store app. I have a timer that calls a delegate every two minutes and makes an async web request. The resulting data is added to an observablecollect
It's usually easier to have the UI thread call background operations rather than having the background operations update the UI thread.
So, I recommend you use DispatcherTimer, and then you won't need to use Dispatcher
at all.
Try using
Deployment.Current.Dispatcher.BeginInvoke
or
Application.Current.Dispatcher.BeginInvoke