当前位置: 动力学知识库 > 问答 > 编程问答 >

asp.net - System.Timers.Timer object works even if I pause or stop website in IIS

问题描述:

I have a System.Timers.Timer object which starts on Global.Application_Start in ASP.net and saves log records in a table, each 5 seconds.

Even if I stop or pause the website in IIS, the object still works?

How can I stop it Or in which method of global fires when I pause or stop IIS, then I can stp it by code?

分享给朋友:
您可能感兴趣的文章:
随机阅读: