The QueryTask type exposes the following members.
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.
Function that will process the results returned by the query.
Authentication token to be used in the task's requests to a secured ArcGIS service.
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.