|
by luisabreu via LA.NET [EN] on 6/1/2009 1:11:03 PM
As we’ve seen, we can also use the thread pool for executing a (possible recurring) task at a specific time. To do that, we need to take a look at the Timer class. Initializing a timer is done through one of its constructors: public Timer(TimerCallback callback); public Timer(TimerCallback callback, object state, int dueTime, int period); public Timer( TimerCallback callback, object state, long dueTime, long period); public Timer( TimerCallback call
... [ read more ]
|
|