Share via


IMobileServiceTable<T>.ReadAsync Method

Definition

Overloads

ReadAsync()

Returns instances from a table.

ReadAsync<U>(IMobileServiceTableQuery<U>)

Returns instances from a table using a query.

ReadAsync<U>(String)

Executes a query against the table.

ReadAsync()

Returns instances from a table.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<T>> ReadAsync ();
abstract member ReadAsync : unit -> System.Threading.Tasks.Task<seq<'T>>
Public Function ReadAsync () As Task(Of IEnumerable(Of T))

Returns

Instances from the table.

Remarks

This call will not handle paging, etc., for you.

Applies to

ReadAsync<U>(IMobileServiceTableQuery<U>)

Returns instances from a table using a query.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<U>> ReadAsync<U> (Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query);
abstract member ReadAsync : Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> -> System.Threading.Tasks.Task<seq<'U>>
Public Function ReadAsync(Of U) (query As IMobileServiceTableQuery(Of U)) As Task(Of IEnumerable(Of U))

Type Parameters

U

The type of instance returned by the query.

Parameters

query
IMobileServiceTableQuery<U>

The query to execute.

Returns

Instances from the table.

Applies to

ReadAsync<U>(String)

Executes a query against the table.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<U>> ReadAsync<U> (string query);
abstract member ReadAsync : string -> System.Threading.Tasks.Task<seq<'U>>
Public Function ReadAsync(Of U) (query As String) As Task(Of IEnumerable(Of U))

Type Parameters

U

Parameters

query
String

A query to execute.

Returns

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

Applies to