DevForce Help Reference
ExecuteQueryAsync(IEntityQuery) Method


Executes the specified query asynchronously.
Syntax
'Declaration
 
Public Overloads Function ExecuteQueryAsync( _
   ByVal query As IEntityQuery _
) As Task(Of IEnumerable)
'Usage
 
Dim instance As EntityManager
Dim query As IEntityQuery
Dim value As Task(Of IEnumerable)
 
value = instance.ExecuteQueryAsync(query)
public Task<IEnumerable> ExecuteQueryAsync( 
   IEntityQuery query
)

Parameters

query

Return Value

A collection of IEntityQuery.ElementType
Remarks
This method returns a System.Threading.Tasks.Task which can be awaited upon. If the query is cancelled the task will be cancelled; if the query fails with an unhandled exception the task will raise the exception.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityManager Class
EntityManager Members
Overload List

Send Feedback