MobileServiceSyncContextExtensions.InitializeAsync Method
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.
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
- context
- IMobileServiceSyncContext
An instance of IMobileServiceSyncContext.
- store
- IMobileServiceLocalStore
An instance of IMobileServiceLocalStore.
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
- context
- IMobileServiceSyncContext
An instance of IMobileServiceSyncContext.
- store
- IMobileServiceLocalStore
An instance of IMobileServiceLocalStore.
- 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
Azure SDK for .NET