EmailMailboxSyncManager 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.
The functionality described in this topic is not available to all UWP apps. As part of the store app submission process, Microsoft must approve your use of these APIs and provision your developer account before you can publish an app that uses them.
For more information about the Windows.ApplicationModel.Email namespace, please work with your Microsoft Account Team representative.
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
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
email
emailSystem
|
Remarks
The SyncManager property provides access to an instance of this class.
Properties
LastAttemptedSyncTime |
Gets or sets the last time the mailbox attempted to sync. |
LastSuccessfulSyncTime |
Gets or sets the last time the mailbox was successfully synced. |
Status |
Gets or sets the sync state of the mailbox. |
Methods
SyncAsync() |
Initiates a sync of this mailbox. |
Events
SyncStatusChanged |
Fires whenever a mailbox's sync status changes. |