AppNotificationManager.UnregisterAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cleans up all registration-related data for app notifications. After this, app notifications for the app will not function until until Register is called again.
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 UnregisterAll() = UnregisterAll;
void UnregisterAll();
public void UnregisterAll();
function unregisterAll()
Public Sub UnregisterAll ()
Remarks
If you don't intend for your app to use the app notification feature ever again, you should call UnregisterAll in order to clean up the registrations in the system.