Share via


PushNotificationManager.UnregisterAll Method

Definition

Cleans up all registration-related data for push notifications. After this, push notifications for the app will not function until Register is called again.

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

Remarks

Calling *UnregisterAll is not a common scenario. In most cases, apps should use Unregister.

Applies to