DesktopNotificationHistoryCompat Class
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.
Caution
We recommend switching to the new ToastNotificationManagerCompat and ToastNotificationHistoryCompat.
Manages the toast notifications for an app including the ability the clear all toast history and removing individual toasts.
[System.Obsolete("We recommend switching to the new ToastNotificationManagerCompat and ToastNotificationHistoryCompat.")]
public sealed class DesktopNotificationHistoryCompat
[<System.Obsolete("We recommend switching to the new ToastNotificationManagerCompat and ToastNotificationHistoryCompat.")>]
type DesktopNotificationHistoryCompat = class
Public NotInheritable Class DesktopNotificationHistoryCompat
- Inheritance
-
DesktopNotificationHistoryCompat
- Attributes
Clear() |
Removes all notifications sent by this app from action center. |
Get |
Gets all notifications sent by this app that are currently still in Action Center. |
Remove(String, String) |
Removes a toast notification from the action using the notification's tag and group labels. |
Remove(String) |
Removes an individual toast, with the specified tag label, from action center. |
Remove |
Removes a group of toast notifications, identified by the specified group label, from action center. |
Produit | Versions (Obsolète) |
---|---|
Windows Community Toolkit | (7.0.0) |