次の方法で共有


AppNotificationManager.Show(AppNotification) メソッド

定義

アクション センターで指定されたアプリ通知を表示します。

注意

AppNotificationManager クラスは、Singleton パッケージに依存しています。 この依存関係により、 自己完結型アプリからこれらの API を呼び出す場合に注意すべき考慮事項があります。 詳細と詳細については、「 追加の MSIX パッケージへの依存関係」を参照してください。

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)

パラメーター

notification
AppNotification

表示する通知を表す AppNotification オブジェクト。

注釈

重要

Show を呼び出す前に、アプリで Register を呼び出す必要があります。

適用対象