IMobileServiceSyncContext IMobileServiceSyncContext IMobileServiceSyncContext Interface

Definition

Provides a way to synchronize local database with remote database.

public interface IMobileServiceSyncContext
type IMobileServiceSyncContext = interface
Public Interface IMobileServiceSyncContext

Properties

Handler Handler Handler

An instance of IMobileServiceSyncHandler

IsInitialized IsInitialized IsInitialized

Indicates whether sync context has been initialized or not.

PendingOperations PendingOperations PendingOperations

Returns the number of pending operations that are not yet pushed to remote table.

Store Store Store

An instance of IMobileServiceLocalStore

StoreTrackingOptions StoreTrackingOptions StoreTrackingOptions

A flag indicating which store tracking options are currently enabled.

Methods

InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler) InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler) InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler)

Initializes the sync context.

InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler, StoreTrackingOptions) InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler, StoreTrackingOptions) InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler, StoreTrackingOptions)

Initializes the sync context.

PushAsync(CancellationToken) PushAsync(CancellationToken) PushAsync(CancellationToken)

Pushes all pending operations up to the remote table.

Extension Methods

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore) InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore) InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore)

Initializes the sync context.

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions) InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions) InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions)

Initializes the sync context.

PushAsync(IMobileServiceSyncContext) PushAsync(IMobileServiceSyncContext) PushAsync(IMobileServiceSyncContext)

Replays all pending local operations against the remote tables.

Applies to