IBuildEngine9.RequestCores(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If a task launches multiple parallel processes, it should ask how many cores it can use.
public:
int RequestCores(int requestedCores);
C#
public int RequestCores(int requestedCores);
abstract member RequestCores : int -> int
Public Function RequestCores (requestedCores As Integer) As Integer
- requestedCores
- Int32
The number of cores a task can potentially use.
The number of cores a task is allowed to use.
Produit | Versions |
---|---|
MSBuild | 16, 17 |
MSBuild (.NET Core) | 16, 17 |