AppNotificationManager.Show(AppNotification) Methode

Definition

Zeigt die angegebene App-Benachrichtigung im Info-Center an.

Hinweis

Die AppNotificationManager-Klasse hat eine Abhängigkeit vom Singleton-Paket. Aufgrund dieser Abhängigkeit sind bestimmte Überlegungen zu beachten, wenn Sie diese APIs aus einer eigenständigen App aufrufen. Weitere Informationen und Einzelheiten finden Sie unter Abhängigkeiten von zusätzlichen MSIX-Paketen.

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)

Parameter

notification
AppNotification

Ein AppNotification-Objekt , das die anzuzeigende Benachrichtigung darstellt.

Hinweise

Important

Ihre App muss "Register" aufrufen, bevor Sie "Show" aufrufen.

Gilt für: