共用方式為


FileTracker.ForceOutOfProcTracking Method

Definition

Determines whether we must track out of process, or whether in process tracking will work.

Overloads

ForceOutOfProcTracking(ExecutableType)

Determines whether we must track out-of-proc, or whether inproc tracking will work.

ForceOutOfProcTracking(ExecutableType, String, String)

Determines whether we must track out-of-proc, or whether inproc tracking will work.

ForceOutOfProcTracking(ExecutableType)

Source:
FileTracker.cs

Determines whether we must track out-of-proc, or whether inproc tracking will work.

public:
 static bool ForceOutOfProcTracking(Microsoft::Build::Utilities::ExecutableType toolType);
public static bool ForceOutOfProcTracking (Microsoft.Build.Utilities.ExecutableType toolType);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static bool ForceOutOfProcTracking (Microsoft.Build.Utilities.ExecutableType toolType);
static member ForceOutOfProcTracking : Microsoft.Build.Utilities.ExecutableType -> bool
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
static member ForceOutOfProcTracking : Microsoft.Build.Utilities.ExecutableType -> bool
Public Shared Function ForceOutOfProcTracking (toolType As ExecutableType) As Boolean

Parameters

toolType
ExecutableType

The executable type for the tool being tracked

Returns

True if we need to track out-of-proc, false if inproc tracking is OK

Attributes

Applies to

ForceOutOfProcTracking(ExecutableType, String, String)

Source:
FileTracker.cs

Determines whether we must track out-of-proc, or whether inproc tracking will work.

public:
 static bool ForceOutOfProcTracking(Microsoft::Build::Utilities::ExecutableType toolType, System::String ^ dllName, System::String ^ cancelEventName);
public static bool ForceOutOfProcTracking (Microsoft.Build.Utilities.ExecutableType toolType, string dllName, string cancelEventName);
static member ForceOutOfProcTracking : Microsoft.Build.Utilities.ExecutableType * string * string -> bool
Public Shared Function ForceOutOfProcTracking (toolType As ExecutableType, dllName As String, cancelEventName As String) As Boolean

Parameters

toolType
ExecutableType

The executable type for the tool being tracked

dllName
String

An optional assembly name.

cancelEventName
String

The name of the cancel event tracker should listen for, or null if there isn't one

Returns

True if we need to track out-of-proc, false if inproc tracking is OK

Applies to