共用方式為


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 物件時。

適用於