Microsoft.VisualStudio.Project.IdeBuildLogger.BuildFinishedHandler C# (CSharp) Method

BuildFinishedHandler() protected method

This is the delegate for BuildFinishedHandler events.
protected BuildFinishedHandler ( object sender, Microsoft.Build.Framework.BuildFinishedEventArgs buildEvent ) : void
sender object
buildEvent Microsoft.Build.Framework.BuildFinishedEventArgs
return void
        protected virtual void BuildFinishedHandler(object sender, BuildFinishedEventArgs buildEvent)
        {
            if (buildEvent == null)
                throw new ArgumentNullException("buildEvent");

            // NOTE: This may run on a background thread!
            MessageImportance importance = buildEvent.Succeeded ? MessageImportance.Low : MessageImportance.High;
            QueueOutputText(importance, Environment.NewLine);
            QueueOutputEvent(importance, buildEvent);

            // flush output and error queues
            ReportQueuedOutput();
            ReportQueuedTasks();
        }