FileTracker.ForceOutOfProcTracking Method (ExecutableType, String, String)
Determines whether we must track out-of-proc, or whether inproc tracking will work.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Utilities
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
Syntax
'Declaration
Public Shared Function ForceOutOfProcTracking ( _
toolType As ExecutableType, _
dllName As String, _
cancelEventName As String _
) As Boolean
public static bool ForceOutOfProcTracking(
ExecutableType toolType,
string dllName,
string cancelEventName
)
public:
static bool ForceOutOfProcTracking(
ExecutableType toolType,
String^ dllName,
String^ cancelEventName
)
static member ForceOutOfProcTracking :
toolType:ExecutableType *
dllName:string *
cancelEventName:string -> bool
public static function ForceOutOfProcTracking(
toolType : ExecutableType,
dllName : String,
cancelEventName : String
) : boolean
Parameters
toolType
Type: Microsoft.Build.Utilities.ExecutableTypeThe executable type for the tool being tracked
dllName
Type: System.StringThe tool being tracked.
cancelEventName
Type: System.StringThe name of the cancel event tracker should listen for, or null if there isn't one
Return Value
Type: System.Boolean
True if we need to track out-of-proc, false if inproc tracking is OK
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.