The QueryTask type exposes the following members.

Constructors

NameDescription
QueryTask
Initializes a new instance of the QueryTask class

Methods

NameDescription
Execute
Sends a callback request to execute a query task. The query operation is performed on a layer resource. The result of this operation is a FeatureSet object passed to callback.

Properties

NameDescription
OnComplete
Function that will process the results returned by the query.
Token
Authentication token to be used in the task's requests to a secured ArcGIS service.
Url
URL of the ArcGIS Server map service exposed as a REST resource that will receive query request. An example is http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Portland/Portland_ESRI_LandBase_AGO/MapServer. For more information on constructing a URL, see The ArcGIS Services Directory and the REST API in the Help general discussion.

See Also