GameModeConfiguration.MaxCpuCount Property

Definition

The max number of CPUs the game will use, this cannot exceed the total logical cores across the systems device processor

public:
 property IReference<int> ^ MaxCpuCount { IReference<int> ^ get(); void set(IReference<int> ^ value); };
IReference<int> MaxCpuCount();

void MaxCpuCount(IReference<int> value);
public System.Nullable<int> MaxCpuCount { get; set; }
var iReference = gameModeConfiguration.maxCpuCount;
gameModeConfiguration.maxCpuCount = iReference;
Public Property MaxCpuCount As Nullable(Of Integer)

Property Value

Windows requirements

App capabilities
gameList

Remarks

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

Applies to