ContactList.RegisterSyncManagerAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute un SyncManager à ContactList.
public:
virtual IAsyncAction ^ RegisterSyncManagerAsync() = RegisterSyncManagerAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction RegisterSyncManagerAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction RegisterSyncManagerAsync();
function registerSyncManagerAsync()
Public Function RegisterSyncManagerAsync () As IAsyncAction
Retours
Opération d’inscription asynchrone que vous pouvez attendre.
- Attributs
Configuration requise pour Windows
Famille d’appareils |
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduit dans v3.0)
|
Fonctionnalités de l’application |
contactsSystem
|
Remarques
Le SyncManager fournit un point d’entrée pour que d’autres applications appellent ContactList.SyncManager.SyncAsync. L’appel de ContactList.SyncManager.SyncAsync lance l’application du fournisseur en tant que tâche en arrière-plan et déclenche un événement IContactDataProviderConnection.SyncRequested. Une application doit appeler cette méthode uniquement si elle est configurée en tant que fournisseur de contacts.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour