IMobileServiceSyncTable.PullAsync(String, String, IDictionary<String,String>, Boolean, CancellationToken, PullOptions) Method
Definition
Pulls all items that match the given query from the associated remote table. Supports incremental sync.
public System.Threading.Tasks.Task PullAsync (string queryId, string query, System.Collections.Generic.IDictionary<string,string> parameters, bool pushOtherTables, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.MobileServices.Sync.PullOptions pullOptions);
abstract member PullAsync : string * string * System.Collections.Generic.IDictionary<string, string> * bool * System.Threading.CancellationToken * Microsoft.WindowsAzure.MobileServices.Sync.PullOptions -> System.Threading.Tasks.Task
Parameters
- queryId
- String
A string that uniquely identifies this query and is used to keep track of its sync state. Supplying this parameter enables incremental sync whenever the same key is used again.
- query
- String
An OData query that determines which items to pull from the remote table.
- parameters
- IDictionary<String,String>
A dictionary of user-defined parameters and values to include in the request URI query string.
- pushOtherTables
- Boolean
Push other tables if this table is dirty.
- cancellationToken
- CancellationToken
The CancellationToken token to observe
- pullOptions
- PullOptions
PullOptions that determine how to pull data from the remote table
Returns
A task that completes when pull operation has finished.