GameBarServicesCommandEventArgs 类

定义

GameBarServices.CommandReceived 事件提供数据。

public ref class GameBarServicesCommandEventArgs 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 GameBarServicesCommandEventArgs 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 GameBarServicesCommandEventArgs
Public NotInheritable Class GameBarServicesCommandEventArgs
继承
Object Platform::Object IInspectable GameBarServicesCommandEventArgs
属性

Windows 要求

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

属性

Command

获取一个值,该值指定与事件关联的 Game Bar 命令。

Origin

获取一个值,该值指定 Game Bar 命令的来源。

适用于