Share via


GameBarServicesManager Class

Definition

Manages the Game Bar services.

public ref class GameBarServicesManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameBarServicesManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.GameBarContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameBarServicesManager
Public NotInheritable Class GameBarServicesManager
Inheritance
Object Platform::Object IInspectable GameBarServicesManager
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.GameBarContract (introduced in v1.0)
App capabilities
gameBarServices

Remarks

This API may throw an error if the background service has shut down due to idle timeout.

Methods

GetDefault()

Gets the default instance of the GameBarServiceManager class.

Events

GameBarServicesCreated

Occurs when the GameBarServices object is created.

Applies to