我正在使用C#中的Silverlight为Windows Phone 7创建一个应用程序.
我发现了许多对DispatcherTimer(DispatcherPriority)重载的引用,但是我无法在我的代码中设置它(例如,timer = new DispatcherTimer(DispatcherPriority)告诉我"DispatcherPriority在当前上下文中不存在").
我认为DispatcherTimer是使用DispatcherTimer(DispatcherPriority)重载的,但是当我在代码中使用它时,我看不到对该构造函数的任何引用.我想尝试将优先级设置为"正常"或"发送",但我似乎无法实现具有优先级的任何DispatcherTimer.有什么建议?