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

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.

Overload List

OverloadDescription
ExecuteAsync(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.  
ExecuteAsync(Query,Object)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.  

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.