ToolTask.LogPathToTool(String, String) 方法

定义

记录工具名称和运行路径。Logs the tool name and the path from where it is being run.

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

参数

toolName
String

要记录的工具。The tool to Log. 这是实际要使用的工具,即,如果已指定 ToolExe,将使用它,否则将使用 ToolNameThis is the actual tool being used, ie. if ToolExe has been specified it will be used, otherwise it will be ToolName

pathToTool
String

运行工具的路径。The path from where the tool is being run.

适用于