Resets the timer.
public void Reset(int millisecondsUntilTimeout)
parameter | description |
---|---|
millisecondsUntilTimeout | The timeout in milliseconds. |
Use int.MaxValue (or Timeout.Infinite) for a timer that never times out.
Resets the timer.
public void Reset(TimeSpan timeSpanUntilTimeout)
Use at least int.MaxValue (or Timeout.Infinite) milliseconds for a timer that never times out.