GameBarServicesCommandEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 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
- 继承
- 属性
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
|
API contract |
Windows.Media.Capture.GameBarContract (在 v1.0 中引入)
|
应用功能 |
gameBarServices
|
属性
Command |
获取一个值,该值指定与事件关联的 Game Bar 命令。 |
Origin |
获取一个值,该值指定 Game Bar 命令的来源。 |