AppNotificationManager.NotificationInvoked Event

Definition

Raised when an app notification for the app is invoked through user interaction.

Note

The AppNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages.

C#
public event TypedEventHandler<AppNotificationManager,AppNotificationActivatedEventArgs> NotificationInvoked;

Event Type

Remarks

To ensure that the NotificationInvoked event handler is called within the process of the running app, be sure to register the handler for this event before calling Register. Otherwise, a new process will be launched to handle the invocation.

Applies to

Product Versions
Windows App SDK 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also