AppNotificationManager.RemoveByGroupAsync(String) 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.
Asynchronously removes all app notifications for the app that have the specified group identifier 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.
public:
virtual IAsyncAction ^ RemoveByGroupAsync(Platform::String ^ group) = RemoveByGroupAsync;
IAsyncAction RemoveByGroupAsync(winrt::hstring const& group);
public IAsyncAction RemoveByGroupAsync(string group);
function removeByGroupAsync(group)
Public Function RemoveByGroupAsync (group As String) As IAsyncAction
Parameters
- group
-
String
Platform::String
winrt::hstring
The unique identifier for the app notification group to be removed, accessed with the Group property.
Returns
An asynchronous action.