void IProgressErrorNotifier.Notify(Exception ex)
{
if (ex == null)
{
throw new ArgumentNullException(nameof(ex));
}
VsThreadingHelper.RunInline(this.serviceProvider, VsTaskRunContext.UIThreadNormalPriority, () =>
{
int hr = this.pane.OutputStringThreadSafe(ProgressControllerHelper.FormatErrorMessage(ex, this.messageFormat, this.logFullException) + Environment.NewLine);
if (this.ensureOutputVisible && ErrorHandler.Succeeded(hr) && ErrorHandler.Succeeded(pane.Activate()))
{
ShowOutputWindowFrame(serviceProvider);
}
});
}