Sdílet prostřednictvím


TaskLoggingHelper.LogCommandLine Method

Definition

Logs the command line.

Overloads

LogCommandLine(MessageImportance, String)

Logs the command line for a task's underlying tool/executable/shell command, using the given importance level. Thread safe.

LogCommandLine(String)

Logs the command line for a task's underlying tool/executable/shell command. Thread safe.

LogCommandLine(MessageImportance, String)

Source:
TaskLoggingHelper.cs

Logs the command line for a task's underlying tool/executable/shell command, using the given importance level. Thread safe.

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

The importance level of the command line.

commandLine
String

The command line string.

Remarks

This method is not thread-safe.

Applies to

LogCommandLine(String)

Source:
TaskLoggingHelper.cs

Logs the command line for a task's underlying tool/executable/shell command. Thread safe.

public:
 void LogCommandLine(System::String ^ commandLine);
public void LogCommandLine (string commandLine);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public void LogCommandLine (string commandLine);
member this.LogCommandLine : string -> unit
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.LogCommandLine : string -> unit
Public Sub LogCommandLine (commandLine As String)

Parameters

commandLine
String

The command line string.

Attributes

Remarks

This method is not thread-safe.

Applies to