Share via


EmailMailboxSyncManager Klasse

Definition

Die in diesem Thema beschriebene Funktionalität ist nicht für alle UWP-Apps verfügbar. Im Rahmen des Übermittlungsprozesses für Store-Apps muss Microsoft Ihre Verwendung dieser APIs genehmigen und Ihr Entwicklerkonto bereitstellen, bevor Sie eine App veröffentlichen können, die sie verwendet.

Weitere Informationen zum Windows.ApplicationModel.Email-Namespace erhalten Sie von Ihrem Microsoft-Kontoteammitarbeiter.

public ref class EmailMailboxSyncManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailMailboxSyncManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailMailboxSyncManager
Public NotInheritable Class EmailMailboxSyncManager
Vererbung
Object Platform::Object IInspectable EmailMailboxSyncManager
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
email emailSystem

Hinweise

Die SyncManager-Eigenschaft bietet Zugriff auf eine instance dieser Klasse.

Eigenschaften

LastAttemptedSyncTime

Ruft den Zeitpunkt ab, zu dem das Postfach zuletzt versucht hat, eine Synchronisierung durchzuführen, oder legt ihn fest.

LastSuccessfulSyncTime

Ruft den Zeitpunkt der letzten erfolgreichen Synchronisierung des Postfachs ab oder legt diese fest.

Status

Ruft den Synchronisierungsstatus des Postfachs ab oder legt diese fest.

Methoden

SyncAsync()

Initiiert eine Synchronisierung dieses Postfachs.

Ereignisse

SyncStatusChanged

Wird ausgelöst, wenn sich die Synchronisierung eines Postfachs status ändert.

Gilt für: