MobileServiceSyncTableExtensions.PullAsync MobileServiceSyncTableExtensions.PullAsync MobileServiceSyncTableExtensions.PullAsync Method

Definition

Overloads

PullAsync(IMobileServiceSyncTable, String, String) PullAsync(IMobileServiceSyncTable, String, String) PullAsync(IMobileServiceSyncTable, String, String)

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

PullAsync(IMobileServiceSyncTable, String, String, PullOptions) PullAsync(IMobileServiceSyncTable, String, String, PullOptions)

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

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

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

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

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

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

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions)

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

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken)

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

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

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

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

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

PullAsync(IMobileServiceSyncTable, String, String) PullAsync(IMobileServiceSyncTable, String, String) PullAsync(IMobileServiceSyncTable, String, String)

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

public static System.Threading.Tasks.Task PullAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table, string queryId, string query);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable * string * string -> System.Threading.Tasks.Task
<Extension()>
Public Function PullAsync (table As IMobileServiceSyncTable, queryId As String, query As String) As Task
Parameters
table
IMobileServiceSyncTable IMobileServiceSyncTable IMobileServiceSyncTable

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore.

query
String String String

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

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryIddoes not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

PullAsync(IMobileServiceSyncTable, String, String, PullOptions) PullAsync(IMobileServiceSyncTable, String, String, PullOptions)

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

public static System.Threading.Tasks.Task PullAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table, string queryId, string query, Microsoft.WindowsAzure.MobileServices.Sync.PullOptions pullOptions);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable * string * string * Microsoft.WindowsAzure.MobileServices.Sync.PullOptions -> System.Threading.Tasks.Task
Parameters
table
IMobileServiceSyncTable IMobileServiceSyncTable IMobileServiceSyncTable

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore.

query
String String String

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

pullOptions
PullOptions PullOptions PullOptions

PullOptions that determine how to pull data from the remote table

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

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

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

public static System.Threading.Tasks.Task PullAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table, string queryId, string query, System.Collections.Generic.IDictionary<string,string> parameters, System.Threading.CancellationToken cancellationToken);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
table
IMobileServiceSyncTable IMobileServiceSyncTable IMobileServiceSyncTable

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore.

query
String String 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.

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

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

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

public static System.Threading.Tasks.Task PullAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table, string queryId, string query, System.Collections.Generic.IDictionary<string,string> parameters, bool pushOtherTables, System.Threading.CancellationToken cancellationToken);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable * string * string * System.Collections.Generic.IDictionary<string, string> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore

query
String String 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 Boolean Boolean

Push other tables if this table is dirty.

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

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

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

public static System.Threading.Tasks.Task PullAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table, string queryId, string query, System.Collections.Generic.IDictionary<string,string> parameters, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.MobileServices.Sync.PullOptions pullOptions);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken * Microsoft.WindowsAzure.MobileServices.Sync.PullOptions -> System.Threading.Tasks.Task
Parameters
table
IMobileServiceSyncTable IMobileServiceSyncTable IMobileServiceSyncTable

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore.

query
String String 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.

pullOptions
PullOptions PullOptions PullOptions

PullOptions that determine how to pull data from the remote table

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>)

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

public static System.Threading.Tasks.Task PullAsync<T,U> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<T> table, string queryId, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'T> * string * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> -> System.Threading.Tasks.Task
<Extension()>
Public Function PullAsync(Of T, U) (table As IMobileServiceSyncTable(Of T), queryId As String, query As IMobileServiceTableQuery(Of U)) As Task
Type Parameters
T
U
Parameters
table
IMobileServiceSyncTable<T> IMobileServiceSyncTable<T> IMobileServiceSyncTable<T>

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore

query
IMobileServiceTableQuery<U>

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

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, PullOptions)

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

public static System.Threading.Tasks.Task PullAsync<T,U> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<T> table, string queryId, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query, Microsoft.WindowsAzure.MobileServices.Sync.PullOptions pullOptions);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'T> * string * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> * Microsoft.WindowsAzure.MobileServices.Sync.PullOptions -> System.Threading.Tasks.Task
Type Parameters
T
U
Parameters
table
IMobileServiceSyncTable<T> IMobileServiceSyncTable<T> IMobileServiceSyncTable<T>

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore

query
IMobileServiceTableQuery<U>

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

pullOptions
PullOptions PullOptions PullOptions

PullOptions that determine how to pull data from the remote table

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken) PullAsync<T,U>(IMobileServiceSyncTable<T>, String, IMobileServiceTableQuery<U>, CancellationToken)

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

public static System.Threading.Tasks.Task PullAsync<T,U> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<T> table, string queryId, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query, System.Threading.CancellationToken cancellationToken);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'T> * string * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Type Parameters
T
U
Parameters
table
IMobileServiceSyncTable<T> IMobileServiceSyncTable<T> IMobileServiceSyncTable<T>

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore

query
IMobileServiceTableQuery<U>

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

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

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

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

public static System.Threading.Tasks.Task PullAsync<T,U> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<T> table, string queryId, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query, bool pushOtherTables, System.Threading.CancellationToken cancellationToken);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'T> * string * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Type Parameters
T
U
Parameters
queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore

query
IMobileServiceTableQuery<U>

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

pushOtherTables
Boolean Boolean Boolean

Push other tables if this table is dirty

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

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

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

public static System.Threading.Tasks.Task PullAsync<T,U> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<T> table, string queryId, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.MobileServices.Sync.PullOptions pullOptions);
static member PullAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'T> * string * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> * System.Threading.CancellationToken * Microsoft.WindowsAzure.MobileServices.Sync.PullOptions -> System.Threading.Tasks.Task
Type Parameters
T
U
Parameters
table
IMobileServiceSyncTable<T> IMobileServiceSyncTable<T> IMobileServiceSyncTable<T>

The instance of table to execute pull on.

queryId
String 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. Must be 255 characters or less and contain only alphanumeric characters, dash, and underscore

query
IMobileServiceTableQuery<U>

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

pullOptions
PullOptions PullOptions PullOptions

PullOptions that determine how to pull data from the remote table

Returns

A task that completes when pull operation has finished.

Exceptions

Thrown when queryId does not match the regular expression [a-zA-Z][a-zA-Z0-9_-]{1,255}.

Applies to