AppNotificationProgressData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents progress data for an app notification.
public ref class AppNotificationProgressData sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.AppNotifications.IAppNotificationProgressDataFactory, 65536, "Microsoft.Windows.AppNotifications.AppNotificationsContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppNotifications.AppNotificationsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppNotificationProgressData final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.AppNotifications.IAppNotificationProgressDataFactory), 65536, "Microsoft.Windows.AppNotifications.AppNotificationsContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.AppNotificationsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppNotificationProgressData
function AppNotificationProgressData(sequenceNumber)
Public NotInheritable Class AppNotificationProgressData
- Inheritance
- Attributes
Remarks
Initiate app notification progress updates by calling UpdateAsync.
Constructors
AppNotificationProgressData(UInt32) |
Creates an instance of the AppNotificationProgressData class with the specified sequence number. |
Properties
SequenceNumber |
Gets or sets a non-zero integer that specifies the order of progress data updates. |
Status |
Gets or sets the status string that reflects the status of the progress operation. |
Title |
Gets or sets an optional title string of the progress bar associated with the progress update. |
Value |
Gets or sets the status value for the progress data. |
ValueStringOverride |
Gets or sets optional string to be displayed instead of the default percentage string. |