HighTechTalks DotNet Forums  

A question about timer

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss A question about timer in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Pumpkin
 
Posts: n/a

Default A question about timer - 08-17-2005 , 10:27 PM






I meet a strange question about the timer.My programe use a timer,and work
normally for 1 year,but suddenly the timer stop working with no error.
I can't find the reason, wrong programe ,or .net timer bug,or windows timer
bug?
I need the reason and a solution.thanks.

Programs as follow:
public class Monitor
{
private void Work(Object source, ElapsedEventArgs e)
{
try
{
timer.stop();
//some operations
}
catch(Exception ex)
{
//error deals
//write logs
}
finnally
{
timer.start();
}
}
}
When work stopped,no exception,no log.
Environment: windows server 2003 ,.net framework 1.1.
The programe is a windows service.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.