是否有一个具有fireDate变量的计时器对象? [英] Is there a timer object which has a fireDate variable?

查看:59
本文介绍了是否有一个具有fireDate变量的计时器对象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法(Class)具有系统范围的支持,可以安排Timer在特定日期触发?


例如:


ScheduledDispatchTimer sTimer = new ScheduledDispatchTimer();


sTimer.fireDate(今天12:39);


sTimer.start( );

解决方案

整个系统是什么意思支持?


我们有您确定知道的DispatcherTimer,但它不允许您这样做。




------------------------------------------------- -------------------------------


Alejandro Campos Magencio - Microsoft Escalation Engineer - 论坛版主

 如果我的回复回答了您的问题,请将此帖标记为已回答。




Is there a way (Class) that has system-wide support for scheduling a Timer to fire at a specific Date?

For example:

ScheduledDispatchTimer sTimer=new ScheduledDispatchTimer();

sTimer.fireDate(Today at 12:39);

sTimer.start();

解决方案

What do you mean by system-wide support?

We have the DispatcherTimer that you know for sure, but it won't allow you to do that.


--------------------------------------------------------------------------------

Alejandro Campos Magencio - Microsoft Escalation Engineer - Forum Moderator
 If my reply answers your question, please mark this post as answered.


这篇关于是否有一个具有fireDate变量的计时器对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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