IMobileServiceSyncContext Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a way to synchronize local database with remote database.
public interface IMobileServiceSyncContext
type IMobileServiceSyncContext = interface
Public Interface IMobileServiceSyncContext
Properties
Handler |
An instance of IMobileServiceSyncHandler |
IsInitialized |
Indicates whether sync context has been initialized or not. |
PendingOperations |
Returns the number of pending operations that are not yet pushed to remote table. |
Store |
An instance of IMobileServiceLocalStore |
StoreTrackingOptions |
A flag indicating which store tracking options are currently enabled. |
Methods
InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler, StoreTrackingOptions) |
Initializes the sync context. |
InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler) |
Initializes the sync context. |
PushAsync(CancellationToken) |
Pushes all pending operations up to the remote table. |
Extension Methods
InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions) |
Initializes the sync context. |
InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore) |
Initializes the sync context. |
PushAsync(IMobileServiceSyncContext) |
Replays all pending local operations against the remote tables. |
Applies to
Azure SDK for .NET