Freigeben über


AppNotificationActivatedEventArgs Klasse

Definition

Stellt Ereignisargumente dar, die einer App-Aktivierung zugeordnet sind, die durch eine App-Benachrichtigung ausgelöst wird.

public ref class AppNotificationActivatedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppNotifications.AppNotificationsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppNotificationActivatedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.AppNotificationsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppNotificationActivatedEventArgs
Public NotInheritable Class AppNotificationActivatedEventArgs
Vererbung
Object Platform::Object IInspectable AppNotificationActivatedEventArgs
Attribute

Hinweise

Um eine instance dieser Klasse abzurufen, rufen Sie AppInstance.GetActivatedEventArgs()auf , überprüfen Sie die AppActivationArguments.Kind Eigenschaft des zurückgegebenen Objekts auf den WertExtendedActivationKind.AppNotification, und wandeln Sie die AppActivationArguments.Data Eigenschaft dann in eine AppNotificationActivatedEventArgs um.

Eigenschaften

Argument

Ruft den Text ab, der im Arguments-Attribut des Aktionselements bereitgestellt wird, das der Eingabe der App-Benachrichtigungsschaltfläche zugeordnet ist, die die App-Aktivierung ausgelöst hat.

Arguments

Ruft ein Wörterbuch der Argumente ab, das im Arguments-Attribut des Aktionselements festgelegt ist, das der Eingabe der App-Benachrichtigungsschaltfläche zugeordnet ist, die die App-Aktivierung ausgelöst hat.

UserInput

Ruft eine Zuordnung von IDs und Werten der Eingabeelemente einer App-Benachrichtigung ab.

Gilt für: