Share via


IMobileServiceSyncTable.PullAsync Method

Definition

Overloads

PullAsync(String, String, IDictionary<String,String>, Boolean, CancellationToken)

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

PullAsync(String, String, IDictionary<String,String>, Boolean, CancellationToken, PullOptions)

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

PullAsync(String, String, IDictionary<String,String>, Boolean, CancellationToken)

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);
abstract member PullAsync : string * string * System.Collections.Generic.IDictionary<string, string> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PullAsync (queryId As String, query As String, parameters As IDictionary(Of String, String), pushOtherTables As Boolean, cancellationToken As CancellationToken) As 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

Returns

A task that completes when pull operation has finished.

Applies to

PullAsync(String, String, IDictionary<String,String>, Boolean, CancellationToken, PullOptions)

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
Public Function PullAsync (queryId As String, query As String, parameters As IDictionary(Of String, String), pushOtherTables As Boolean, cancellationToken As CancellationToken, pullOptions As PullOptions) As 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.

Applies to