Share via


FileTracker.SetThreadCount Method

Set the global thread count, and assign that count to the current thread.

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 Sub SetThreadCount ( _
    threadCount As Integer _
)
public static void SetThreadCount(
    int threadCount
)
public:
static void SetThreadCount(
    int threadCount
)
static member SetThreadCount : 
        threadCount:int -> unit
public static function SetThreadCount(
    threadCount : int
)

Parameters

.NET Framework Security

See Also

Reference

FileTracker Class

Microsoft.Build.Utilities Namespace