我创建了一个定时器定时器得到间隔时间
private static AutoResetEvent autoEvent;
private static Timer stateTimer;
public static void Start()
{
autoEvent = new AutoResetEvent(false);
TimerCallback timerDelegate = new TimerCallback(SomeClass.TimerLoad);
stateTimer = new Timer(timerDelegate, autoEvent, 1000, 3 * 60 * 60 * 1000);
}
从其他程序更改计时器:
stateTimer.Change(0, 5 * 60 * 1000);
现在,我需要知道什么是间隔,是否有任何appropiate指令?
使用的System.Threading – 2010-03-02 08:52:47