SonarLint.VisualStudio.Progress.Controller.ErrorNotification.VsMessageBoxNotifier.IProgressErrorNotifier C# (CSharp) Метод

IProgressErrorNotifier() приватный Метод

private IProgressErrorNotifier ( Exception ex ) : void
ex System.Exception
Результат 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);
        }
    }