GameModeUserConfiguration Class

Definition

Provides mechanism to add other gaming related processes and utilities that will get priority scheduling over other processes with Game Mode applied.

public ref class GameModeUserConfiguration sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Preview.GamesEnumerationContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameModeUserConfiguration final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Preview.GamesEnumerationContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameModeUserConfiguration
Public NotInheritable Class GameModeUserConfiguration
Inheritance
Object Platform::Object IInspectable GameModeUserConfiguration
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
Windows Mobile Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (introduced in v2.0)
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.

Properties

GamingRelatedProcessNames

Returns a list of gaming related processes that will not be affected by Game Mode. Processes names can be added and removed, however SaveAsync() will need to be called to persist the changes.

Methods

GetDefault()

Returns the current GamingRelatedProcessNames

SaveAsync()

Saves the changes to the GamingRelatedProcessNames property.

Applies to