I have created C# windows service to Peek Message Queues in periodic
intervals and update the database. In the above scenario which Timer
class suitable??

thanks in advance
--RK

Re: System.Threading.Timer vs System.Timers.Timer by Naveen

Naveen
Fri Jan 13 09:57:09 CST 2006

The System.Threading.Timer is lightweight timer where as the
System.Timers.Timer is server timer. The Timers.Timer can scale better
because they have built for it. My suggestion is if your application is
a server then you should probably use the System.Timers.Timer.


Re: System.Threading.Timer vs System.Timers.Timer by Tim

Tim
Fri Jan 13 10:01:30 CST 2006

The MSDN article at the link below might help give you a better idea of what
each Timer is all about.
http://msdn.microsoft.com/msdnmag/issues/04/02/TimersinNET/

--
Tim Wilson
.NET Compact Framework MVP

"RK" <r_adhakrishna@yahoo.com> wrote in message
news:1137166947.388976.77420@g43g2000cwa.googlegroups.com...
> I have created C# windows service to Peek Message Queues in periodic
> intervals and update the database. In the above scenario which Timer
> class suitable??
>
> thanks in advance
> --RK
>