TaskLoggingHelper.LogCommandLine Method

Definition

Logs the command line.

Overloads

LogCommandLine(MessageImportance, String)

Logs the command line for an underlying tool, executable file, or shell command of a task using the specified importance level.

LogCommandLine(String)

Logs the command line for an underlying tool, executable file, or shell command of a task.

LogCommandLine(MessageImportance, String)

Logs the command line for an underlying tool, executable file, or shell command of a task using the specified importance level.

public:
 void LogCommandLine(Microsoft::Build::Framework::MessageImportance importance, System::String ^ commandLine);
public void LogCommandLine (Microsoft.Build.Framework.MessageImportance importance, string commandLine);
member this.LogCommandLine : Microsoft.Build.Framework.MessageImportance * string -> unit
Public Sub LogCommandLine (importance As MessageImportance, commandLine As String)

Parameters

importance
MessageImportance

One of the values of MessageImportance that indicates the importance level of the command line.

commandLine
String

The command line string.

Remarks

This method is not thread-safe.

LogCommandLine(String)

Logs the command line for an underlying tool, executable file, or shell command of a task.

public:
 void LogCommandLine(System::String ^ commandLine);
public void LogCommandLine (string commandLine);
member this.LogCommandLine : string -> unit
Public Sub LogCommandLine (commandLine As String)

Parameters

commandLine
String

The command line string.

Remarks

This method is not thread-safe.

Applies to