-api-id | -api-type |
---|---|
M:Microsoft.Windows.AppNotifications.AppNotificationManager.RemoveByTagAndGroupAsync(System.String,System.String) |
winrt method |
Microsoft.Windows.AppNotifications.AppNotificationManager.RemoveByTagAndGroupAsync(System.String,System.String)
Asynchronously removes all app notifications for the app that have the specified group and tag identifiers from Action Center.
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.
The unique identifier for the set of notifications to be removed from the specified group, accessed with the Tag property.
The unique identifier for the app notification group from which notifications to be removed, accessed with the Group property.
An asynchronous action.
Both the tag and group parameters must be non-empty strings.