Re: Does timer interval gets stored anywhere in system or in registry.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Archana,

A possible workaround might be to dispose the Timer instance every day or so and create a new instance to work with.

archana wrote:
Hi all,

I want to know about interval of timer.

I am using timer in windows service.I head somewhere that when i set
interval property of timer while setting interval, restart time of Pc
is consider.

My question is if i am using timer in my windows service, is there any
place where interval related information like interval set used by my
application is stored.

My problem is my timer start behaving erractically after 49.7 days. So
instead of restarting PC i reinstall service and problem gets solved.
So i want to know where in system timer related information is stored.

If anyone can shed some light on it then it will be really benefical
for me.

thanks in advance.



--
Ward Bekker

"Free .Net 2.0 C# to/from VB.Net Code Converter"
http://www.dotnettaxi.com/Tools/Converter.aspx
.



Relevant Pages

  • Re: curiosity about java.util.Timer
    ... I'll fix the problem by instantiating a new Timer instance when I catch the IllegalState error. ... I'm curious why the timer would cancel. ... If the server is not creating many medium lived objects, then there is no reason for a major collection. ...
    (comp.lang.java.programmer)
  • Re: curiosity about java.util.Timer
    ... I'll fix the problem by instantiating a new Timer instance when I catch the IllegalState error. ... I'm curious why the timer would cancel. ... also ends the timer when the thread got an Exception/Error. ...
    (comp.lang.java.programmer)
  • Does timer interval gets stored anywhere in system or in registry.
    ... I want to know about interval of timer. ... My question is if i am using timer in my windows service, ... So i want to know where in system timer related information is stored. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: curiosity about java.util.Timer
    ... I'll fix the problem by instantiating a new Timer instance when I catch the IllegalState error. ... I'm curious why the timer would cancel. ...
    (comp.lang.java.programmer)
  • curiosity about java.util.Timer
    ... I had a Timer cancel in my server over the three ... Timer instance when I catch the IllegalState error. ... timer's task execution thread terminates gracefully (and becomes ...
    (comp.lang.java.programmer)