IMobileServiceSyncContext.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(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
- store
- IMobileServiceLocalStore
An instance of IMobileServiceLocalStore.
- handler
- IMobileServiceSyncHandler
An instance of IMobileServiceSyncHandler
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
- store
- IMobileServiceLocalStore
An instance of IMobileServiceLocalStore.
- handler
- IMobileServiceSyncHandler
An instance of IMobileServiceSyncHandler
- 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
Azure SDK for .NET