Dela via


GameBarServicesCommandEventArgs Class

Definition

Provides data for the GameBarServices.CommandReceived event.

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
Inheritance
Object Platform::Object IInspectable GameBarServicesCommandEventArgs
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

Properties

Command

Gets a value specifying the Game Bar command associated with the event.

Origin

Gets a value specifying the origin of the Game Bar command.

Applies to