Partager via


ContactListSyncManager Classe

Définition

Fournit des fonctionnalités pour synchroniser les informations de contact avec le serveur.

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
Héritage
Object Platform::Object IInspectable ContactListSyncManager
Attributs

Configuration requise pour Windows

Configuration requise Description
Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
contactsSystem

Propriétés

Nom Description
LastAttemptedSyncTime

Obtient ou définit l’heure de la dernière tentative de synchronisation avec le serveur.

LastSuccessfulSyncTime

Obtient ou définit la dernière fois que ContactList a été correctement synchronisé avec le serveur.

Status

Obtient ou définit contactListSyncStatus.

Méthodes

Nom Description
SyncAsync()

Tente de façon asynchrone de synchroniser avec le serveur de contacts.

Événements

Nom Description
SyncStatusChanged

Se produit lorsque le status de synchronisation avec le serveur a changé.

S’applique à