AppNotificationManager.RemoveByTagAsync(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime de manière asynchrone toutes les notifications d’application pour l’application qui ont l’identificateur de balise spécifié du Centre de notifications (appelé Centre de notifications dans Windows 10).
Note
La classe
public:
virtual IAsyncAction ^ RemoveByTagAsync(Platform::String ^ tag) = RemoveByTagAsync;
IAsyncAction RemoveByTagAsync(winrt::hstring const& tag);
public IAsyncAction RemoveByTagAsync(string tag);
function removeByTagAsync(tag)
Public Function RemoveByTagAsync (tag As String) As IAsyncAction
Paramètres
- tag
-
String
Platform::String
winrt::hstring
Identificateur unique de l’ensemble de notifications à supprimer, accessible avec la propriété Tag.
Retours
Action asynchrone.