ArcGIS API for Silverlight - Library Reference
QueryTask Class Methods
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace : QueryTask Class


For a list of all members of this type, see QueryTask members.

Public Methods

 NameDescription
public MethodCancelAsync Cancels a pending asynchronous operation. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public MethodExecuteAsyncOverloaded. 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.  
public MethodExecuteCountAsyncExecutes a query against an ArcGIS Server map layer and counts the results. If the query is successful, the QueryTask.ExecuteCountCompleted event is raised with the result.  
public MethodExecuteRelationshipQueryAsync Executes a query to a obtain addtional data from another layer/table based on a relationship defined in the service meta data.  
public MethodGetRequestUri Gets the request URI.  
Top

Protected Methods

 NameDescription
protected MethodOnPropertyChangedCalled when a task result related property value has changed. These properties are named, or end with, "LastResult". E.g. QueryTask exposes the "LastResult" property, and GeometryService has a "BufferLastResult" property. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
Top

See Also

© ESRI, Inc. All Rights Reserved.