Share via


AppNotificationManager.Unregister Method

Definition

Unregisters the app from receiving NotificationInvoked events when the user interacts with an app notification.

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 Unregister() = Unregister;
void Unregister();
public void Unregister();
function unregister()
Public Sub Unregister ()

Remarks

After calling Unregister, any subsequent calls to invoke the Notification by the user would launch a new process"

Register to receive NotificationInvoked events by calling Register.

Applies to