SonarLint.VisualStudio.Progress.Controller.ErrorNotification.VsMessageBoxNotifier.IProgressErrorNotifier C# (CSharp) Method

IProgressErrorNotifier() private method

private IProgressErrorNotifier ( Exception ex ) : void
ex System.Exception
return void
        void IProgressErrorNotifier.Notify(Exception ex)
        {
            if (ex == null)
            {
                throw new ArgumentNullException(nameof(ex));
            }

            VsShellUtilities.ShowMessageBox(this.serviceProvider,
               ProgressControllerHelper.FormatErrorMessage(ex, this.messageFormat, this.logWholeMessage),
               this.messageTitle,
               OLEMSGICON.OLEMSGICON_CRITICAL,
               OLEMSGBUTTON.OLEMSGBUTTON_OK,
               OLEMSGDEFBUTTON.OLEMSGDEFBUTTON_FIRST);
        }
    }