Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.61 KB

appnotificationmanager_removebytagandgroupasync_134832637.md

File metadata and controls

39 lines (23 loc) · 1.61 KB
-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)

-description

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.

-parameters

-param tag

The unique identifier for the set of notifications to be removed from the specified group, accessed with the Tag property.

-param group

The unique identifier for the app notification group from which notifications to be removed, accessed with the Group property.

-returns

An asynchronous action.

-remarks

Both the tag and group parameters must be non-empty strings.

-see-also

-examples