NotificationData
NotificationData
NotificationData
NotificationData
Class
Definition
public : sealed class NotificationData : INotificationDatapublic sealed class NotificationData : INotificationDataPublic NotInheritable Class NotificationData Implements INotificationData// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Constructors
NotificationData() NotificationData() NotificationData() NotificationData()
Creates a new NotificationData.
public : NotificationData()public NotificationData()Public Sub New()// You can use this method in JavaScript.
NotificationData(IIterable<>>)
NotificationData(IIterable<>>)
NotificationData(IIterable<>>)
NotificationData(IIterable<>>)
Creates a new NotificationData that contains the specified values.
public : NotificationData(IIterable<IKeyValuePair<PlatForm::String, PlatForm::String>> initialValues)public NotificationData(IEnumerable<KeyValuePair<String, String>> initialValues)Public Sub New(initialValues As IEnumerable<KeyValuePair<String, String>>)// You can use this method in JavaScript.
- initialValues
- IIterable<IKeyValuePair<PlatForm::String, PlatForm::String>> IEnumerable<KeyValuePair<String, String>> IEnumerable<KeyValuePair<String, String>> IEnumerable<KeyValuePair<String, String>>
A collection of keys and values for the new NotificationData, such as "progressValue", "0".
NotificationData(IIterable<>>, UInt32)
NotificationData(IIterable<>>, UInt32)
NotificationData(IIterable<>>, UInt32)
NotificationData(IIterable<>>, UInt32)
Creates a new NotificationData that contains the specified values and the specified sequence number.
public : NotificationData(IIterable<IKeyValuePair<PlatForm::String, PlatForm::String>> initialValues, unsigned int sequenceNumber)public NotificationData(IEnumerable<KeyValuePair<String, String>> initialValues, UInt32 sequenceNumber)Public Sub New(initialValues As IEnumerable<KeyValuePair<String, String>>, sequenceNumber As UInt32)// You can use this method in JavaScript.
- initialValues
- IIterable<IKeyValuePair<PlatForm::String, PlatForm::String>> IEnumerable<KeyValuePair<String, String>> IEnumerable<KeyValuePair<String, String>> IEnumerable<KeyValuePair<String, String>>
A collection of keys and values for the new NotificationData, such as "progressValue", "0".
- sequenceNumber
- unsigned int UInt32 UInt32 UInt32
A value greater than or equal to 0 that specifies the sequence number of the new notification data. When multiple NotificationData objects are received, the system displays the NotificationData with the greatest non-zero number. Setting this value to 0 causes it to always displays.
Properties
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.
public : unsigned int SequenceNumber { get; set; }public uint SequenceNumber { get; set; }Public ReadWrite Property SequenceNumber As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
A value greater than or equal to 0 that specifies the sequence number of this notification data. When multiple NotificationData objects are received, the system displays the NotificationData with the greatest non-zero number. Setting this value to 0 causes it to always displays.
Values Values Values Values
Gets the collection of keys and values for the new NotificationData, such as "progressValue", "0".
public : IMap<string, string> Values { get; }public IDictionary<string, string> Values { get; }Public ReadOnly Property Values As IDictionary<string, string>// You can use this property in JavaScript.
- Value
- IMap<PlatForm::String, PlatForm::String> IDictionary<string, string> IDictionary<string, string> IDictionary<string, string>
The collection of keys and values for the new NotificationData, such as "progressValue", "0".