/// <summary> /// Stops the timer. If the background task is running when this is called, it's /// left be so it can finish it's work, but will not be woken up to start again /// until SetTimerInterval() is called with a positive value. /// /// Convenience method. This has the same effect as calling /// SetTimerInterval(Timeout.Infinite); /// </summary> public void StopTimer() { intervalTimer.Stop(); }