Share via


ToastNotificationActivatedEventArgs Klasse

Definition

Stellt Informationen zu einem Ereignis bereit, das auftritt, wenn die App aktiviert wird, weil ein Benutzer auf den Text einer Popupbenachrichtigung tippt oder eine Aktion innerhalb einer Popupbenachrichtigung ausgeführt hat.

public ref class ToastNotificationActivatedEventArgs sealed : IToastNotificationActivatedEventArgs
public ref class ToastNotificationActivatedEventArgs sealed : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
public ref class ToastNotificationActivatedEventArgs sealed : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastNotificationActivatedEventArgs final : IToastNotificationActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastNotificationActivatedEventArgs final : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastNotificationActivatedEventArgs final : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastNotificationActivatedEventArgs : IToastNotificationActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastNotificationActivatedEventArgs : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastNotificationActivatedEventArgs : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
Public NotInheritable Class ToastNotificationActivatedEventArgs
Implements IToastNotificationActivatedEventArgs
Public NotInheritable Class ToastNotificationActivatedEventArgs
Implements IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
Public NotInheritable Class ToastNotificationActivatedEventArgs
Implements IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
Vererbung
Object Platform::Object IInspectable ToastNotificationActivatedEventArgs
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

ToastNotificationActivatedEventArgs wird an den Ereignishandler übergeben, den Sie für das Aktivierungsereignis implementieren, das auftritt, wenn die App aktiviert wird, weil ein Benutzer auf den Text einer Popupbenachrichtigung tippt oder eine Aktion innerhalb einer Popupbenachrichtigung ausgeführt hat.

Versionsverlauf

Windows-Version SDK-Version Mehrwert
1607 14393 Benutzer

Eigenschaften

Argument

Ruft die Argumente ab, die die App abrufen kann, nachdem sie über eine interaktive Popupbenachrichtigung aktiviert wurde.

CurrentlyShownApplicationViewId

Ruft den Bezeichner für die derzeit angezeigte App-Ansicht ab.

Kind

Ruft den Grund für die Aktivierung der App für dieses Ereignis ab.

PreviousExecutionState

Ruft den Ausführungsstatus der App ab, bevor die App aktiviert wurde, weil ein Benutzer auf den Text einer Popupbenachrichtigung tippt oder eine Aktion innerhalb einer Popupbenachrichtigung ausgeführt hat.

SplashScreen

Ruft das Begrüßungsbildschirmobjekt ab, das Informationen zum Übergang vom Begrüßungsbildschirm zur aktivierten App bereitstellt.

User

Ruft den Benutzer ab, für den die App aktiviert wurde.

UserInput

Ruft einen Satz von Werten ab, mit denen Sie die Benutzereingabe aus einer interaktiven Popupbenachrichtigung abrufen können.

Gilt für:

Weitere Informationen