This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/ImageServiceIdentifyTask.html.
Packagecom.esri.ags.tasks
Classpublic class ImageServiceIdentifyTask
InheritanceImageServiceIdentifyTask Inheritance BaseTask Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.0

Performs an identify operation on an image service resource. It identifies the content of an image service for a given location and a given mosaic rule. The location can be a point or a polygon. The identify operation is supported by all kinds of image services (Mosaic Datasets, Raster Datasets or an Image Service definition).

See also

com.esri.ags.tasks.supportClasses.ImageServiceIdentifyParameters
com.esri.ags.tasks.supportClasses.ImageServiceIdentifyResult
com.esri.ags.events.ImageServiceIdentifyEvent


Public Properties
 PropertyDefined By
 InheritedautoNormalize : Boolean
If true, normalizes the geometries across the central meridian.
BaseTask
 Inheritedconcurrency : String
Value that indicates how to handle multiple calls to the same task.
BaseTask
 InheriteddisableClientCaching : Boolean
If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from being loaded from the browser's cache.
BaseTask
  executeLastResult : ImageServiceIdentifyResult
ImageServiceIdentifyResult object returned from last call to the execute function.
ImageServiceIdentifyTask
 Inheritedmethod : String
URL request method to use.
BaseTask
 InheritedproxyURL : String
The URL to proxy the request through.
BaseTask
 InheritedrequestTimeout : int
The request timeout in seconds.
BaseTask
 InheritedshowBusyCursor : Boolean
If true, a busy cursor is displayed while a service is executing.
BaseTask
 Inheritedtoken : String
Token for accessing a secure task.
BaseTask
 Inheritedurl : String
URL of the task.
BaseTask
Public Methods
 MethodDefined By
  
ImageServiceIdentifyTask(url:String = null)
Creates a new ImageServiceIdentifyTask object.
ImageServiceIdentifyTask
  
execute(imageServiceIdentifyParameters:ImageServiceIdentifyParameters, responder:IResponder = null):AsyncToken
Sends a request to the ArcGIS REST image service resource to identify content based on the ImageServiceIdentifyParameters specified in the imageServiceIdentifyParameters argument.
ImageServiceIdentifyTask
Protected Methods
 MethodDefined By
 Inherited
sendURLVariables(urlSuffix:String, urlVariables:URLVariables, responder:IResponder, operation:Function):AsyncToken
Sends an HTTP request.
BaseTask
Events
 Event Summary Defined By
  Dispatched when an execute operation successfully completes.ImageServiceIdentifyTask
  Dispatched when an ImageServiceIdentifyTask fails.ImageServiceIdentifyTask
Property Detail
executeLastResultproperty
executeLastResult:ImageServiceIdentifyResult

ImageServiceIdentifyResult object returned from last call to the execute function.

This property can be used as the source for data binding.


Implementation
    public function get executeLastResult():ImageServiceIdentifyResult
    public function set executeLastResult(value:ImageServiceIdentifyResult):void
Constructor Detail
ImageServiceIdentifyTask()Constructor
public function ImageServiceIdentifyTask(url:String = null)

Creates a new ImageServiceIdentifyTask object.

Parameters
url:String (default = null) — [optional] URL to the ArcGIS Server REST resource that represents an image service.
Method Detail
execute()method
public function execute(imageServiceIdentifyParameters:ImageServiceIdentifyParameters, responder:IResponder = null):AsyncToken

Sends a request to the ArcGIS REST image service resource to identify content based on the ImageServiceIdentifyParameters specified in the imageServiceIdentifyParameters argument. On completion, the executeComplete event is fired and the optional responder is called.

Parameters

imageServiceIdentifyParameters:ImageServiceIdentifyParameters — The criteria used to identify the features.
 
responder:IResponder (default = null) — The responder to call on result or fault.

Returns
AsyncToken
Event Detail
executeComplete Event
Event Object Type: com.esri.ags.events.ImageServiceIdentifyEvent
ImageServiceIdentifyEvent.type property = com.esri.ags.events.ImageServiceIdentifyEvent.EXECUTE_COMPLETE

Dispatched when an execute operation successfully completes.

Defines the value of the type property of an executeComplete event object.
fault Event  
Event Object Type: mx.rpc.events.FaultEvent
FaultEvent.type property = mx.rpc.events.FaultEvent.FAULT

Dispatched when an ImageServiceIdentifyTask fails.