本文介绍了创建高效的Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要创建一个Windows服务,我必须与Web服务相关联,只要webservice发生更改,我的计时器就会启动,一旦计时器停止,它将自动发送包含详细信息的电子邮件accordinlgly webservice,但问题是如何处理如果从webservice同时有两个请求,总之我可以用多线程创建定时器。
I need to create a windows service ,which I have to relate with a web service ,as soon as there is a change in webservice ,My timer will start and as soon as timer will stop it will automatically send the email with details accordinlgly webservice ,but the problem is how to handle if there will be two request on same time from webservice ,in short can I create timer with multithreading.
推荐答案
这篇关于创建高效的Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!