SonarLint.VisualStudio.Progress.Controller.SequentialProgressController.TryAbort C# (CSharp) Method

TryAbort() public method

Attempts to abort the current operation. In case not started or the operation is not cancellable the abort request will be ignored. CanAbort IsStarted
public TryAbort ( ) : bool
return bool
        public bool TryAbort()
        {
            bool aborted = this.ThreadSafeCancelCancellationTokenSource();
            if (aborted)
            {
                this.CanAbort = false;
            }

            return aborted;
        }