共用方式為


Exec.LogPathToTool(String, String) Method

Definition

Logs the tool name and the path from where it is being run.

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

protected:
 override void LogPathToTool(System::String ^ toolName, System::String ^ pathToTool);
protected override void LogPathToTool (string toolName, string pathToTool);
override this.LogPathToTool : string * string -> unit
Protected Overrides Sub LogPathToTool (toolName As String, pathToTool As String)

Parameters

toolName
String

The tool name.

pathToTool
String

The current directory where the tool is run.

Remarks

Overridden to avoid logging the path to "cmd.exe", which is not interesting.

Applies to