ArcGIS Runtime SDK for WPF - Library Reference
QueryTask Class Members
See Also  Properties  Methods  Events
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 PropertyClientCertificateGets or sets the client certificate that is sent to the host and used to authenticate the request. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyCredentialsGets 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 PropertyCustomParametersGets or sets the custom parameters to be appended to the request url. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyDisableClientCachingIf 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 PropertyIsBusyGets a value that indicates whether a Web request is in progress. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyLastRelationshipResultGets the last relationship result of the ExecuteRelashipQuery or ExecuteRelationshipQueryAsync method of the QueryTask.  
public PropertyLastResultGets or sets the last query result.  
public PropertyProxyURLGets or sets the URL to proxy the request through. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyResponseFormatThe response format to request from the server.  
public PropertyTokenToken for accessing a secure ArcGIS task. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyUrlGets or sets the URL of the task. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
Top

Public Methods

 NameDescription
public MethodCancelAsyncCancels a pending asynchronous operation. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public MethodExecuteExecutes 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 MethodExecuteAsyncExecutes a query against an ArcGIS Server map layer. The result is returned as a FeatureSet. If the query is successful, the 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 MethodExecuteCountExecutes 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 ExecuteCountCompleted event is raised with the result.  
public MethodExecuteCountTaskAsyncOverloaded. Executes a query against an ArcGIS Server map layer and counts the results. If the query is successful, the task returns an integer result. Otherwise, the Task.Exception is set.  
public MethodExecuteRelationshipQueryExecutes a query to a obtain addtional data from another layer/table based on a relationship defined in the service meta data.  
public MethodExecuteRelationshipQueryAsyncExecutes a query to a obtain addtional data from another layer/table based on a relationship defined in the service meta data.  
public MethodExecuteRelationshipQueryTaskAsyncOverloaded. Executes a query to a obtain addtional data from another layer/table based on a relationship defined in the service meta data.  
public MethodExecuteTaskAsyncOverloaded. Executes a query against an ArcGIS Server map layer. If the query is successful, the task returns a QueryResult. Otherwise, the Task.Exception is set.  
public MethodGetRequestUriGets 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

Public Events

 NameDescription
public EventExecuteCompletedOccurs when the query completes.  
public EventExecuteCountCompletedOccurs when the count query completes.  
public EventExecuteRelationshipQueryCompletedOccurs when the query completes.  
public EventFailedOccurs when the query completes. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public EventPropertyChangedOccurs when a property value changes. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
Top

See Also

© ESRI, Inc. All Rights Reserved.