Partager via


MobileServiceSyncContextExtensions.InitializeAsync Méthode

Définition

Surcharges

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore)

Initialise le contexte de synchronisation.

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions)

Initialise le contexte de synchronisation.

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore)

Initialise le contexte de synchronisation.

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

Paramètres

Retours

S’applique à

InitializeAsync(IMobileServiceSyncContext, IMobileServiceLocalStore, StoreTrackingOptions)

Initialise le contexte de synchronisation.

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

Paramètres

trackingOptions
StoreTrackingOptions

Les options de traking qui doivent être activées sur cette instance de IMobileServiceSyncContext.

Retours

Tâche qui se termine lorsque l’initialisation est terminée.

S’applique à