ContactList.RegisterSyncManagerAsync Method

Definition

Adds a SyncManager to the 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

Returns

An asynchronous registration operation that you can await.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
contactsSystem

Remarks

The SyncManager provides an entry point for other apps to call ContactList.SyncManager.SyncAsync. Calling ContactList.SyncManager.SyncAsync will launch the provider app as a background task and fire a IContactDataProviderConnection.SyncRequested event. An app should only call this method if they are set up as contact provider.

Applies to