sdk/dotnet/src/Microsoft.Datasync.Client/DatasyncClient.cs
/// <summary>
/// Pushes the pending operations for all tables to the remote service.
/// </summary>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> to observe.</param>
/// <returns>A task that completes when the pending operations have been pushed.</returns>
/// <exception cref="InvalidOperationException">if the offline store is not available.</exception>
Pushes the pending operations for all tables to the remote service.
Pushes the pending operations for all tables to the remote service .
public virtual async Task PushTablesAsync(CancellationToken cancellationToken = default)
        {
            if (SyncContext == null)
            {
                throw new InvalidOperationException("An offline store must be specified before doing offline operations.");
            }
            await SyncContext.PushItemsAsync(Array.Empty<string>(), cancellationToken).ConfigureAwait(false);
        }
public virtual async Task PushTablesAsync ( CancellationToken cancellationToken = default ) { if ( SyncContext == null ) { throw new InvalidOperationException ( " " ) ; } await SyncContext . PushItemsAsync ( Array . Empty < string > ( ) , cancellationToken ) . ConfigureAwait ( false ) ; }
Pushes the pending operations for all tables to the remote service.
Pushes the pending operations for all tables to the remote service .
A task that completes when the pending operations have been pushed.
A task that completes when the pending operations have been pushed .
if the offline store is not available.
if the offline store is not available .
cancellationToken
CancellationToken
A  to observe.
A to observe .