Edit

Share via


ToastNotificationManagerCompat.Uninstall Method

Definition

If you're not using MSIX, call this when your app is being uninstalled to properly clean up all notifications and notification-related resources. Note that this must be called from your app's main EXE (the one that you used notifications for) and not a separate uninstall EXE. If called from a MSIX app, this method no-ops.

public static void Uninstall ();
static member Uninstall : unit -> unit
Public Shared Sub Uninstall ()

Applies to