共用方式為


ToolTask.StartToolProcess(Process) Method

Definition

We expect tasks to override this method if they need information about the tool process or its process events during task execution. Implementation should make sure that the task is started in this method. Starts the process during task execution.

protected:
 virtual System::Diagnostics::Process ^ StartToolProcess(System::Diagnostics::Process ^ proc);
protected virtual System.Diagnostics.Process StartToolProcess (System.Diagnostics.Process proc);
abstract member StartToolProcess : System.Diagnostics.Process -> System.Diagnostics.Process
override this.StartToolProcess : System.Diagnostics.Process -> System.Diagnostics.Process
Protected Overridable Function StartToolProcess (proc As Process) As Process

Parameters

proc
Process

Fully populated Process instance representing the tool process to be started.

Returns

A started process. This could be proc or another Process instance.

Applies to