如何获得Dispatcher在非UI代码windows phone 8



我可以在windows 8中获得CoreDispatcher对象

CoreDispatcher dispatcher = Windows.UI.Core.CoreWindow.GetForCurrentThread().Dispatcher;

但是我如何在windows phone 8中获得Dispatcher
这样我就可以调用

Dispatcher.BeginInvoke(delegate
{
    //My statements
});

在Windows Phone中使用Deployment.Current.Dispatcher获取Dispatcher对象

最新更新