IMobileServiceSyncTable<T>.PullAsync(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken, PullOptions) IMobileServiceSyncTable<T>.PullAsync(String, IMobileServiceTableQuery<U>, Boolean, CancellationToken, PullOptions) Method

Definition

Pulls all items that match the given query from the associated remote table.

public System.Threading.Tasks.Task PullAsync<U> (string queryId, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query, bool pushOtherTables, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.MobileServices.Sync.PullOptions pullOptions);
abstract member PullAsync : string * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> * bool * System.Threading.CancellationToken * Microsoft.WindowsAzure.MobileServices.Sync.PullOptions -> System.Threading.Tasks.Task

Type Parameters

U

Parameters

queryId
String 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
IMobileServiceTableQuery<U>

An OData query that determines which items to pull from the remote table.

pushOtherTables
Boolean Boolean

Push other tables if this table is dirty

cancellationToken
CancellationToken CancellationToken

The CancellationToken token to observe

pullOptions
PullOptions PullOptions

PullOptions that determine how to pull data from the remote table

Returns

A task that completes when pull operation has finished.

Applies to