Share via


MobileServiceTableExtensions.ReadAsync Method

Definition

Executes a query against the table.

public static System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> ReadAsync (this Microsoft.WindowsAzure.MobileServices.IMobileServiceTable table, string query, System.Collections.Generic.IDictionary<string,string> parameters);
static member ReadAsync : Microsoft.WindowsAzure.MobileServices.IMobileServiceTable * string * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
<Extension()>
Public Function ReadAsync (table As IMobileServiceTable, query As String, parameters As IDictionary(Of String, String)) As Task(Of JToken)

Parameters

table
IMobileServiceTable

The instance of table to read from.

query
String

A query to execute.

parameters
IDictionary<String,String>

A dictionary of user-defined parameters and values to include in the request URI query string.

Returns

Task<Newtonsoft.Json.Linq.JToken>

A task that will return with results when the query finishes.

Applies to