Exec.LogEventsFromTextOutput(String, MessageImportance) Method

Definition

Calls a method on the TaskLoggingHelper to parse a single line of text to see if there are any errors or warnings in canonical format.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
protected override void LogEventsFromTextOutput(string singleLine, Microsoft.Build.Framework.MessageImportance messageImportance);

Parameters

singleLine
String

Single line from the output to parse.

messageImportance
MessageImportance

The importance to log the message with.

Remarks

Overridden to handle any custom regular expressions supplied.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1