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


The following tables list the members exposed by QueryTask.

Public Constructors

 NameDescription
public ConstructorQueryTask ConstructorOverloaded.   
Top

Public Properties

 NameDescription
public PropertyAutoNormalizeIf true automatically normalizes geometry crossing the anti-meridian. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyCredentials Gets or sets the network credentials that are sent to the host and used to authenticate the request. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyDisableClientCaching If true, adds a timestamp parameter ("_ts") to the request to prevent it from being loaded from the browser's cache. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyIsBusy Gets a value that indicates whether a Web request is in progress. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyLastRelationshipResult Gets the last relationship result of the ExecuteRelashipQuery or ExecuteRelationshipQueryAsync method of the QueryTask.  
public PropertyLastResult Gets or sets the last query result.  
public PropertyProxyURL Gets or sets the URL to proxy the request through. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyToken Token for accessing a secure ArcGIS task. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyUrl Gets or sets the URL of the task. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
Top

Public Methods

 NameDescription
public MethodCancelAsync Cancels a pending asynchronous operation. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public MethodExecute Executes a query against an ArcGIS Server map layer. The result is returned as a FeatureSet. A FeatureSet contains an array of Graphic features, which can be added to the map using GraphicsLayer.Graphics.Add. This array will not be populated if no results are found.  
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 MethodExecuteCount Executes a query against an ArcGIS Server map layer and counts the results.  
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 MethodExecuteRelationshipQuery Executes a query to a obtain addtional data from another layer/table based on a relationship defined in the service meta data.  
public MethodExecuteRelationshipQueryAsync Executes a query to a obtain addtional data from another layer/table based on a relationship defined in the service meta data.  
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

Public Events

 NameDescription
public EventExecuteCompleted Occurs when the query completes.  
public EventExecuteCountCompleted Occurs when the count query completes.  
public EventExecuteRelationshipQueryCompleted Occurs when the query completes.  
public EventFailed Occurs when the query completes. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public EventPropertyChanged Occurs when a property value changes. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
Top

See Also

© ESRI, Inc. All Rights Reserved.