GameBarServicesManager 类

定义

管理游戏栏服务。

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
继承
Object Platform::Object IInspectable GameBarServicesManager
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
API contract
Windows.Media.Capture.GameBarContract (在 v1.0 中引入)
应用功能
gameBarServices

注解

如果后台服务由于空闲超时而关闭,则此 API 可能会引发错误。

方法

GetDefault()

获取 GameBarServiceManager 类的默认实例。

事件

GameBarServicesCreated

创建 GameBarServices 对象时发生。

适用于