Dela via


ToastHistoryChangedType Enum

Definition

Specifies the kind of change that has happened to a notification in toast history. Used with ToastNotificationHistoryChangedTriggerDetail.ChangeType.

public enum class ToastHistoryChangedType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ToastHistoryChangedType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ToastHistoryChangedType
var value = Windows.UI.Notifications.ToastHistoryChangedType.cleared
Public Enum ToastHistoryChangedType
Inheritance
ToastHistoryChangedType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Cleared 0

One or more notifications were removed with a clear command.

Removed 1

Just this notification was removed with a remove command.

Expired 2

The notification has expired.

Added 3

The notification was added.

Applies to