ToastNotificationHistoryChangedTrigger 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 : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::ToastNotificationHistoryChangedTrigger : IBackgroundTrigger
public sealed class ToastNotificationHistoryChangedTrigger : IBackgroundTrigger
Public NotInheritable Class ToastNotificationHistoryChangedTrigger Implements IBackgroundTrigger
var toastNotificationHistoryChangedTrigger = new toastNotificationHistoryChangedTrigger(applicationId);
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() ToastNotificationHistoryChangedTrigger()

Creates and initializes a new instance of the ToastNotificationHistoryChangedTrigger class.

ToastNotificationHistoryChangedTrigger(String) 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.

See also