다음을 통해 공유


FileTracker.StartProcess Method

Definition

Start the process; tracking the command.

Overloads

StartProcess(String, String, ExecutableType)

Start the process; tracking the command.

StartProcess(String, String, ExecutableType, String)

Start the process; tracking the command.

StartProcess(String, String, ExecutableType, String, String)

Start the process; tracking the command.

StartProcess(String, String, ExecutableType, String, String, String)

Start the process; tracking the command.

StartProcess(String, String, ExecutableType, String, String, String, String)

Start the process; tracking the command.

StartProcess(String, String, ExecutableType)

Source:
FileTracker.cs

Start the process; tracking the command.

public:
 static System::Diagnostics::Process ^ StartProcess(System::String ^ command, System::String ^ arguments, Microsoft::Build::Utilities::ExecutableType toolType);
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType);
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType -> System.Diagnostics.Process
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType -> System.Diagnostics.Process
Public Shared Function StartProcess (command As String, arguments As String, toolType As ExecutableType) As Process

Parameters

command
String

The command to track

arguments
String

The command to track's arguments

toolType
ExecutableType

The type of executable the wrapped tool is

Returns

Process instance

Attributes

Applies to

StartProcess(String, String, ExecutableType, String)

Source:
FileTracker.cs

Start the process; tracking the command.

public:
 static System::Diagnostics::Process ^ StartProcess(System::String ^ command, System::String ^ arguments, Microsoft::Build::Utilities::ExecutableType toolType, System::String ^ rootFiles);
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType, string rootFiles);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType, string rootFiles);
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType * string -> System.Diagnostics.Process
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType * string -> System.Diagnostics.Process
Public Shared Function StartProcess (command As String, arguments As String, toolType As ExecutableType, rootFiles As String) As Process

Parameters

command
String

The command to track

arguments
String

The command to track's arguments

toolType
ExecutableType

The type of executable the wrapped tool is

rootFiles
String

Rooting marker

Returns

Process instance

Attributes

Applies to

StartProcess(String, String, ExecutableType, String, String)

Source:
FileTracker.cs

Start the process; tracking the command.

public:
 static System::Diagnostics::Process ^ StartProcess(System::String ^ command, System::String ^ arguments, Microsoft::Build::Utilities::ExecutableType toolType, System::String ^ intermediateDirectory, System::String ^ rootFiles);
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType, string intermediateDirectory, string rootFiles);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType, string intermediateDirectory, string rootFiles);
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType * string * string -> System.Diagnostics.Process
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType * string * string -> System.Diagnostics.Process
Public Shared Function StartProcess (command As String, arguments As String, toolType As ExecutableType, intermediateDirectory As String, rootFiles As String) As Process

Parameters

command
String

The command to track

arguments
String

The command to track's arguments

toolType
ExecutableType

The type of executable the wrapped tool is

intermediateDirectory
String

Intermediate directory where tracking logs will be written

rootFiles
String

Rooting marker

Returns

Process instance

Attributes

Applies to

StartProcess(String, String, ExecutableType, String, String, String)

Source:
FileTracker.cs

Start the process; tracking the command.

public:
 static System::Diagnostics::Process ^ StartProcess(System::String ^ command, System::String ^ arguments, Microsoft::Build::Utilities::ExecutableType toolType, System::String ^ dllName, System::String ^ intermediateDirectory, System::String ^ rootFiles);
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType, string dllName, string intermediateDirectory, string rootFiles);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType, string dllName, string intermediateDirectory, string rootFiles);
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType * string * string * string -> System.Diagnostics.Process
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType * string * string * string -> System.Diagnostics.Process
Public Shared Function StartProcess (command As String, arguments As String, toolType As ExecutableType, dllName As String, intermediateDirectory As String, rootFiles As String) As Process

Parameters

command
String

The command to track

arguments
String

The command to track's arguments

toolType
ExecutableType

The type of executable the wrapped tool is

dllName
String

The name of the dll that will do the tracking

intermediateDirectory
String

Intermediate directory where tracking logs will be written

rootFiles
String

Rooting marker

Returns

Process instance

Attributes

Applies to

StartProcess(String, String, ExecutableType, String, String, String, String)

Source:
FileTracker.cs

Start the process; tracking the command.

public:
 static System::Diagnostics::Process ^ StartProcess(System::String ^ command, System::String ^ arguments, Microsoft::Build::Utilities::ExecutableType toolType, System::String ^ dllName, System::String ^ intermediateDirectory, System::String ^ rootFiles, System::String ^ cancelEventName);
public static System.Diagnostics.Process StartProcess (string command, string arguments, Microsoft.Build.Utilities.ExecutableType toolType, string dllName, string intermediateDirectory, string rootFiles, string cancelEventName);
static member StartProcess : string * string * Microsoft.Build.Utilities.ExecutableType * string * string * string * string -> System.Diagnostics.Process
Public Shared Function StartProcess (command As String, arguments As String, toolType As ExecutableType, dllName As String, intermediateDirectory As String, rootFiles As String, cancelEventName As String) As Process

Parameters

command
String

The command to track

arguments
String

The command to track's arguments

toolType
ExecutableType

The type of executable the wrapped tool is

dllName
String

The name of the dll that will do the tracking

intermediateDirectory
String

Intermediate directory where tracking logs will be written

rootFiles
String

Rooting marker

cancelEventName
String

If Tracker should be listening on a particular event for cancellation, pass its name here

Returns

Process instance

Applies to