SonarLint.VisualStudio.Progress.Controller.SequentialProgressController.TryAbort C# (CSharp) Метод

TryAbort() публичный Метод

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
Результат bool
        public bool TryAbort()
        {
            bool aborted = this.ThreadSafeCancelCancellationTokenSource();
            if (aborted)
            {
                this.CanAbort = false;
            }

            return aborted;
        }