ToolTask.LogEventsFromTextOutput(String, MessageImportance) 方法

定义

在 TaskLoggingHelper 上调用方法以解析一行文本,以查看是否存在有关规范格式的错误或警告。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 can be overridden by the derived class if necessary.

protected:
 virtual void LogEventsFromTextOutput(System::String ^ singleLine, Microsoft::Build::Framework::MessageImportance messageImportance);
protected virtual void LogEventsFromTextOutput (string singleLine, Microsoft.Build.Framework.MessageImportance messageImportance);
abstract member LogEventsFromTextOutput : string * Microsoft.Build.Framework.MessageImportance -> unit
override this.LogEventsFromTextOutput : string * Microsoft.Build.Framework.MessageImportance -> unit
Protected Overridable Sub LogEventsFromTextOutput (singleLine As String, messageImportance As MessageImportance)

参数

singleLine
String
messageImportance
MessageImportance

适用于