在C#.net中创建Windows服务以及如何每小时调用一个方法 [英] Creating a Windows Service in C#.net and how to call a method every hour
本文介绍了在C#.net中创建Windows服务以及如何每小时调用一个方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要步骤回答,因为这是我的第一个服务应用程序
I need step step answer because this is my first service Application
推荐答案
检查此链接以创建Windows服务。服务明星取决于启动模式。就调度而言,它是一个不同的主题(Windows调度程序)。给出一个链接,根据您的需要决定您想要使用什么。
http ://msdn.microsoft.com/en-us/library/zt39148a(v = vs.110).aspx [ ^ ]
http://stackoverflow.com/questions/390307/windows-service-vs-scheduled-task [ ^ ]
Check this link for creating windows service. Service stars depending on start up mode. As far as scheduling is concerned its a different topic (windows scheduler). Given a link to decide what you want to use as per your need.
http://msdn.microsoft.com/en-us/library/zt39148a(v=vs.110).aspx[^]
http://stackoverflow.com/questions/390307/windows-service-vs-scheduled-task[^]
这篇关于在C#.net中创建Windows服务以及如何每小时调用一个方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文