Dela via


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

  • cancelEventName
    Type: System.String

    The 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

See Also

Reference

FileTracker Class

ForceOutOfProcTracking Overload

Microsoft.Build.Utilities Namespace