ArcGIS API for Silverlight - Library Reference
ExecuteAsync(Query) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > QueryTask Class > ExecuteAsync Method : ExecuteAsync(Query) Method

query
Specifies the attributes and spatial filter of the query.
Executes a query against an ArcGIS Server map layer. The result is returned as a FeatureSet. If the query is successful, the QueryTask.ExecuteCompleted event is raised with the result. A FeatureSet contains an array of Graphic features, which can be added to the map using Map.graphics.add(). This array will not be populated if no results are found.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub ExecuteAsync( _
   ByVal query As Query _
) 
C# 
public void ExecuteAsync( 
   Query query
)

Parameters

query
Specifies the attributes and spatial filter of the query.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.