Udostępnij za pośrednictwem


MobileServiceCollection<TTable,TCollection>.ProcessQueryAsync Method

Definition

Evaluates the query and adds the result to the collection.

protected virtual System.Threading.Tasks.Task<int> ProcessQueryAsync (System.Threading.CancellationToken token, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<TTable> query);
abstract member ProcessQueryAsync : System.Threading.CancellationToken * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'able> -> System.Threading.Tasks.Task<int>
override this.ProcessQueryAsync : System.Threading.CancellationToken * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'able> -> System.Threading.Tasks.Task<int>
Protected Overridable Function ProcessQueryAsync (token As CancellationToken, query As IMobileServiceTableQuery(Of TTable)) As Task(Of Integer)

Parameters

token
CancellationToken

A token to cancel the operation.

query
IMobileServiceTableQuery<TTable>

The query to evaluate.

Returns

A task representing the ongoing operation.

Applies to