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
threadCount
Type: System.Int32The thread count.
.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.