哪里是在Windows商店应用计时器? [英] Where is timer in a Windows store app?

查看:120
本文介绍了哪里是在Windows商店应用计时器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在c#开发Windows Store应用的时候我找不到定时器。什么是替代/新名称/使用它的方式吗?

I could not find the Timer when developing a Windows Store App in c#. What is the alternative /new name/way of use of it?

推荐答案

不同的定时器的不同需求。大约...

Different timers for different needs. Roughly...

DispatcherTimer - 当你想工作,要在 UI线程中执行

DispatcherTimer - When you want work to be executed on the UI thread.

ThreadPoolTimer - 当你想工作,要在一个后台线程执行

ThreadPoolTimer - When you want work to be executed on a background thread.

这篇关于哪里是在Windows商店应用计时器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆