AppNotificationProgressData Klasse

Definition

Stellt Statusdaten für eine App-Benachrichtigung dar.

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
Vererbung
Object Platform::Object IInspectable AppNotificationProgressData
Attribute

Hinweise

Initiieren sie Aktualisierungen des App-Benachrichtigungsfortschritts durch Aufrufen von UpdateAsync.

Konstruktoren

Name Beschreibung
AppNotificationProgressData(UInt32)

Erstellt eine Instanz der AppNotificationProgressData-Klasse mit der angegebenen Sequenznummer.

Eigenschaften

Name Beschreibung
SequenceNumber

Dient zum Abrufen oder Festlegen einer ganzzahligen Zahl ohne Null, die die Reihenfolge der Statusdatenaktualisierungen angibt.

Status

Dient zum Abrufen oder Festlegen der Statuszeichenfolge, die den Status des Statusvorgangs widerspiegelt.

Title

Dient zum Abrufen oder Festlegen einer optionalen Titelzeichenfolge der Statusanzeige, die der Statusaktualisierung zugeordnet ist.

Value

Dient zum Abrufen oder Festlegen des Statuswerts für die Statusdaten.

ValueStringOverride

Ruft die optionale Zeichenfolge ab, die anstelle der standardprozentigen Zeichenfolge angezeigt werden soll, oder legt diese fest.

Gilt für:

Weitere Informationen