Dela via


ContactListSyncManager Class

Definition

Provides functionality for syncing contact information with the server.

public ref class ContactListSyncManager 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 ContactListSyncManager 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 ContactListSyncManager
Public NotInheritable Class ContactListSyncManager
Inheritance
Object Platform::Object IInspectable ContactListSyncManager
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
contactsSystem

Properties

LastAttemptedSyncTime

Gets or sets the last time a sync was attempted with the server.

LastSuccessfulSyncTime

Gets or sets the last time the ContactList was successfully synced with the server.

Status

Gets or sets the ContactListSyncStatus.

Methods

SyncAsync()

Asynchronously attempts to sync with the contacts server.

Events

SyncStatusChanged

Occurs when the sync status with the server has changed.

Applies to