如何在Windows Services中每5分钟调用一次方法 [英] How to can i call a method every 5minutes in windows services
本文介绍了如何在Windows Services中每5分钟调用一次方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如何在Windows服务中每5分钟调用一次方法?
hi all,
How to can i call a method every 5 minutes in windows services?
推荐答案
计时器应该执行此操作...
http://msdn.microsoft.com/zh-CN /library/system.timers.timer(v=VS.71).aspx [
A timer should do it...
http://msdn.microsoft.com/en-us/library/system.timers.timer(v=VS.71).aspx[^]
pls检查以下链接
http://www.aspdotnet-suresh.com/2011/06/creating-windows-service-in-c-or.html [
pls check the below link
http://www.aspdotnet-suresh.com/2011/06/creating-windows-service-in-c-or.html[^]
这篇关于如何在Windows Services中每5分钟调用一次方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文