ToastNotificationHistoryChangedTrigger ToastNotificationHistoryChangedTrigger ToastNotificationHistoryChangedTrigger ToastNotificationHistoryChangedTrigger Class

Definition

Represents an event that causes a background task to run when the history of toast notifications for the app is cleared, when one or more toast notifications are added to or removed from the notification history for the app, or when one or more toast notifications for the app expire and are removed from the notification history.

public : sealed class ToastNotificationHistoryChangedTrigger : IBackgroundTriggerpublic sealed class ToastNotificationHistoryChangedTrigger : IBackgroundTriggerPublic NotInheritable Class ToastNotificationHistoryChangedTrigger Implements IBackgroundTrigger// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

ToastNotificationHistoryChangedTrigger() ToastNotificationHistoryChangedTrigger() ToastNotificationHistoryChangedTrigger() ToastNotificationHistoryChangedTrigger()

Creates and initializes a new instance of the ToastNotificationHistoryChangedTrigger class.

public : ToastNotificationHistoryChangedTrigger()public ToastNotificationHistoryChangedTrigger()Public Sub New()// You can use this method in JavaScript.
See Also

ToastNotificationHistoryChangedTrigger(String) ToastNotificationHistoryChangedTrigger(String) ToastNotificationHistoryChangedTrigger(String) ToastNotificationHistoryChangedTrigger(String)

Creates and initializes a new instance of the ToastNotificationHistoryChangedTrigger class for the app with the specified identifier.

public : ToastNotificationHistoryChangedTrigger(PlatForm::String applicationId)public ToastNotificationHistoryChangedTrigger(String applicationId)Public Sub New(applicationId As String)// You can use this method in JavaScript.
Parameters
applicationId
PlatForm::String String String String

The identifier of the app for which you want to create an instance of the ToastNotificationHistoryChangedTrigger class.