DevForce Help Reference
TryExecuteQuery<T>(IEntityQuery<T>) Method


Executes the specified query and returns a QueryResult<T>.
Syntax
'Declaration
 
Public Overloads Function TryExecuteQuery(Of T)( _
   ByVal query As IEntityQuery(Of T) _
) As QueryResult(Of T)
'Usage
 
Dim instance As EntityManager
Dim query As IEntityQuery(Of T)
Dim value As QueryResult(Of T)
 
value = instance.TryExecuteQuery(Of T)(query)
public QueryResult<T> TryExecuteQuery<T>( 
   IEntityQuery<T> query
)

Parameters

query

Type Parameters

T
Remarks
Use TryExecuteQuery when you need additional information about the query, including whether it was cancelled or an unhandled error was thrown.
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