Share via


PushNotificationManager.Unregister Method

Definition

Unregisters the app from receiving PushReceived events for incoming push notifications.

Note

The PushNotificationManager 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, a new process will be launched to handle subsequent notifications.

Register to receive PushReceived events by calling Register.

Applies to