Share via


AppNotificationManager.Show(AppNotification) Method

Definition

Displays the specified app notification in Action Center.

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.

public:
 virtual void Show(AppNotification ^ notification) = Show;
void Show(AppNotification const& notification);
public void Show(AppNotification notification);
function show(notification)
Public Sub Show (notification As AppNotification)

Parameters

notification
AppNotification

An AppNotification object representing the notification to be shown.

Remarks

Important

Your app must call Register before calling Show.

Applies to