AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Attempt to synchronize Amazon.CognitoSync.SyncManager.Dataset when connectivity is available. If the connectivity is available right away, it behaves the same as Amazon.CognitoSync.SyncManager.Dataset.SynchronizeAsync(System.Threading.CancellationToken). Otherwise it listens to connectivity changes, and will do a sync once the connectivity is back. Note that if this method is called multiple times, only the last synchronize request is kept. If either the dataset or the callback is garbage collected , this method will not perform a sync and the callback won't fire.

Namespace: Amazon.CognitoSync.SyncManager
Assembly: AWSSDK.CognitoSync.dll
Version: 3.x.y.z

Syntax

C#
public Task SynchronizeOnConnectivity(
         CancellationToken cancellationToken
)
Parameters
cancellationToken
Type: System.Threading.CancellationToken

Return Value
Type: Task

Version Information

.NET Framework:
Supported in: 4.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms