MobileServiceTableQuery<T>.ToListAsync Method

Evaluates the query asynchronously and return the results in a new List.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

Syntax

'Declaration
Public Function ToListAsync As Task(Of List(Of T))
'Usage
Dim instance As MobileServiceTableQuery 
Dim returnValue As Task(Of List(Of T))

returnValue = instance.ToListAsync()
public Task<List<T>> ToListAsync()
public:
Task<List<T>^>^ ToListAsync()
member ToListAsync : unit -> Task<List<'T>> 
public function ToListAsync() : Task<List<T>>

Return Value

Type: System.Threading.Tasks.Task<List<T>>
The evaluated query results as a List.

See Also

Reference

MobileServiceTableQuery<T> Class

Microsoft.WindowsAzure.MobileServices Namespace