Hardcodet.Wpf.TaskbarNotification.TaskbarIcon.ResetBalloonCloseTimer C# (CSharp) Method

ResetBalloonCloseTimer() public method

Resets the closing timeout, which effectively keeps a displayed balloon message open until it is either closed programmatically through CloseBalloon or due to a new message being displayed.
public ResetBalloonCloseTimer ( ) : void
return void
        public void ResetBalloonCloseTimer()
        {
            if (IsDisposed) return;

            lock (this)
            {
                //reset timer in any case
                balloonCloseTimer.Change(Timeout.Infinite, Timeout.Infinite);
            }
        }