NotificationData NotificationData NotificationData NotificationData NotificationData Class

Definition

Stores data for display in a toast notification.

public : sealed class NotificationData
struct winrt::Windows::UI::Notifications::NotificationData
public sealed class NotificationData
Public NotInheritable Class NotificationData
var notificationData = new notificationData(initialValues);
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Constructors

NotificationData() NotificationData() NotificationData() NotificationData() NotificationData()

Creates a new NotificationData.

NotificationData(IIterable<IKeyValuePair<String, String>>) NotificationData(IIterable<IKeyValuePair<String, String>>) NotificationData(IIterable<IKeyValuePair<String, String>>) NotificationData(IIterable<IKeyValuePair<String, String>>) NotificationData(IIterable<IKeyValuePair<String, String>>)

Creates a new NotificationData that contains the specified values.

NotificationData(IIterable<IKeyValuePair<String, String>>, UInt32) NotificationData(IIterable<IKeyValuePair<String, String>>, UInt32) NotificationData(IIterable<IKeyValuePair<String, String>>, UInt32) NotificationData(IIterable<IKeyValuePair<String, String>>, UInt32) NotificationData(IIterable<IKeyValuePair<String, String>>, UInt32)

Creates a new NotificationData that contains the specified values and the specified sequence number.

Properties

SequenceNumber SequenceNumber SequenceNumber SequenceNumber SequenceNumber

Gets or sets the sequence number of this notification data. The system uses the sequence number to determine whether the notification data is out-of-date.

Values Values Values Values Values

Gets the collection of keys and values for the new NotificationData, such as "progressValue", "0".

See also