MobileServiceSyncContextExtensions.InitializeAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- context
- IMobileServiceSyncContext
Instance de IMobileServiceSyncContext.
- store
- IMobileServiceLocalStore
Instance de IMobileServiceLocalStore.
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
- context
- IMobileServiceSyncContext
Instance de IMobileServiceSyncContext.
- store
- IMobileServiceLocalStore
Instance de IMobileServiceLocalStore.
- 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 à
Azure SDK for .NET