MobileServiceSyncContextExtensions.InitializeAsync Method

Definition

Overloads

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore)

Initializes the sync context.

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions)

Initializes the sync context.

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore)

Initializes the sync context.

public static System.Threading.Tasks.Task InitializeAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncContext context, Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore store);
static member InitializeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncContext * Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore -> System.Threading.Tasks.Task
<Extension()>
Public Function InitializeAsync (context As IMobileServiceSyncContext, store As IMobileServiceLocalStore) As Task

Parameters

Returns

Applies to

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions)

Initializes the sync context.

public static System.Threading.Tasks.Task InitializeAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncContext context, Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore store, Microsoft.WindowsAzure.MobileServices.Sync.StoreTrackingOptions trackingOptions);
static member InitializeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncContext * Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceLocalStore * Microsoft.WindowsAzure.MobileServices.Sync.StoreTrackingOptions -> System.Threading.Tasks.Task
<Extension()>
Public Function InitializeAsync (context As IMobileServiceSyncContext, store As IMobileServiceLocalStore, trackingOptions As StoreTrackingOptions) As Task

Parameters

trackingOptions
StoreTrackingOptions

The traking options that should be enabled on this instance of IMobileServiceSyncContext.

Returns

A task that completes when the initialization when initialization has finished.

Applies to