C# 如何在非UI代码的windows phone 8中获取Dispatcher

C# 如何在非UI代码的windows phone 8中获取Dispatcher,c#,windows-phone-8,C#,Windows Phone 8,我可以在windows 8中获取CoreDispatcher对象作为 CoreDispatcher dispatcher = Windows.UI.Core.CoreWindow.GetForCurrentThread().Dispatcher; 但是如何在windows phone 8中获取调度程序 这样我就可以打电话了 Dispatcher.BeginInvoke(delegate { //My statements }); 使用Deployment.Current.Dispat

我可以在windows 8中获取
CoreDispatcher
对象作为

CoreDispatcher dispatcher = Windows.UI.Core.CoreWindow.GetForCurrentThread().Dispatcher;
但是如何在windows phone 8中获取
调度程序

这样我就可以打电话了

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

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

感谢您的回复。我发现你在诺基亚工作。我对诺基亚地图有一些问题。你能看看这个问题吗?实际上我对此无能为力,但如果你在诺基亚网站上提出了这个问题,那么我相信团队中会有人拿起它来看一看!:)