TimeoutTimer.Reset method (1 of 2)

Resets the timer.

public void Reset(int millisecondsUntilTimeout)
parameter description
millisecondsUntilTimeout The timeout in milliseconds.

Remarks

Use int.MaxValue (or Timeout.Infinite) for a timer that never times out.

See Also


TimeoutTimer.Reset method (2 of 2)

Resets the timer.

public void Reset(TimeSpan timeSpanUntilTimeout)

Remarks

Use at least int.MaxValue (or Timeout.Infinite) milliseconds for a timer that never times out.

See Also