IMobileServiceSyncContext.InitializeAsync Method

Definition

Overloads

InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler)

Initializes the sync context.

InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler, StoreTrackingOptions)

Initializes the sync context.

InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler)

Initializes the sync context.

public System.Threading.Tasks.Task InitializeAsync (Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore store, Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncHandler handler);
abstract member InitializeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore * Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncHandler -> System.Threading.Tasks.Task
Public Function InitializeAsync (store As IMobileServiceLocalStore, handler As IMobileServiceSyncHandler) As Task

Parameters

Returns

A task that completes when sync context has initialized.

Applies to

InitializeAsync(IMobileServiceLocalStore, IMobileServiceSyncHandler, StoreTrackingOptions)

Initializes the sync context.

public System.Threading.Tasks.Task InitializeAsync (Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore store, Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncHandler handler, Microsoft.WindowsAzure.MobileServices.Sync.StoreTrackingOptions trackingOptions);
abstract member InitializeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore * Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncHandler * Microsoft.WindowsAzure.MobileServices.Sync.StoreTrackingOptions -> System.Threading.Tasks.Task
Public Function InitializeAsync (store As IMobileServiceLocalStore, handler As IMobileServiceSyncHandler, trackingOptions As StoreTrackingOptions) As Task

Parameters

trackingOptions
StoreTrackingOptions

A StoreTrackingOptions value indicating how store operations will be tracked, impacting which store events are raised.

Returns

A task that completes when sync context has initialized.

Applies to