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


The following tables list the members exposed by Geoprocessor.

Public Constructors

 NameDescription
public ConstructorGeoprocessor ConstructorOverloaded.   
Top

Public Properties

 NameDescription
public PropertyAutoNormalizeIf true automatically normalizes geometry crossing the anti-meridian. (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 PropertyExecuteLastResult The last result of the Execute operation.  
public PropertyGetInputLastResult The result from the last GetInput call.  
public PropertyGetResultDataLastResult The result from the last GetResultData call.  
public PropertyGetResultImageLastResult The result from the last GetResultImage call.  
public PropertyIsBusy Gets a value that indicates whether a Web request is in progress. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyOutputSpatialReference The spatial reference of the output geometries. If not specified, the output geometries are in the spatial reference of the input geometries. If ProcessSpatialReference is specified and OutputSpatialReference is not specified, the output geometries are in the spatial reference of the process spatial reference.  
public PropertyProcessSpatialReference The spatial reference that the model will use to perform geometry operations. If specified and OutputSpatialReference is not specified, the output geometries are in the spatial reference of the process spatial reference.  
public PropertyProxyURL Gets or sets the URL to proxy the request through. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyReturnMIf true, M values will be included in the results if the features have M values. Otherwise M values are not returned. The default is false.  
public PropertyReturnZIf true, Z values will be included in the results if the features have Z values. Otherwise Z values are not returned. The default is false.  
public PropertySubmitJobLastResult The last result of the SubmitJob operation.  
public PropertyToken Token for accessing a secure ArcGIS task. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public PropertyUpdateDelay The time interval in milliseconds between each job status request sent to an asynchronous geoprocessing task. The default is 1000.  
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 MethodCancelJobAsync Cancels the asynchronous GP job before it is completed.  
public MethodCancelJobStatusUpdates Cancels the periodic job status updates initiated automatically when submitJob() is invoked for the job identified by jobId. You can still obtain the status of this job by calling the CheckStatus() method at your own discretion.  
public MethodCheckJobStatusAsyncSends a request to the geoprocessing task for the current state of the job identified by jobId. Raises the E:StatusUpdate event on success, or the E:Fault event on failure.  
public MethodExecuteAsyncOverloaded. Executes the task. Raises the E:ExecuteCompleted event on success, or the E:Failed event on failure.  
public MethodGetInputAsyncOverloaded. Sends a request to the Geoprocessor task to get the task input identified by jobId and parameterName. Raises the E:GetInputComplete event on success, or the E:Fault event on failure.  
public MethodGetResultDataAsyncOverloaded. Sends a request to the Geoprocessor task to get the task result identified by jobId and parameterName. Raises the E:GetResultDataComplete event on success, or the E:Fault event on failure.  
public MethodGetResultImageAsyncOverloaded. Sends a request to the Geoprocessor task to get the task result identified by jobId and parameterName. Raises the E:GetResultImageComplete event on success, or the E:Fault event on failure.  
public MethodGetResultImageLayerAsyncSends a request to the Geoprocessor task to get the task result identified by jobId and parameterName. Creates and configures a GPResultImageLayer instance ready to be added to a Map. Raises the E:GetResultImageLayerComplete event on success, or the E:Fault event on failure.  
public MethodGetResultMapServiceLayer Gets the result map service layer. From ArcGIS Server 10.1 onwards, if a GP service is associated with a result map service, the results of GPFeatureRecordSetLayer and GPRasterDataLayer data types can be accessed directly using the associated map service resource using the URL format: http://catalog-url/resultMapServiceName/MapServer/jobs/jobid  
public MethodGetServiceInfoAsyncGets the Geoprocessor service information GPServiceInfo Raises the E:GetServiceInfoCompleted.  
public MethodSubmitJobAsyncSubmits a job request to the server to execute an asynchronous geoprocessing task. Raises the E:JobComplete event on success, or the E:Fault event on failure.  
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 Execute operation completes.  
public EventFailed Occurs when the query completes. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public EventGetInputCompleted Occurs when the GetInput request completes.  
public EventGetResultDataCompleted Occurs when the GetResultData request completes.  
public EventGetResultImageCompleted Occurs when the GetResultImage request completes.  
public EventGetResultImageLayerCompleted Occurs when the GetResultImageLayer request completes.  
public EventGetServiceInfoCompleted Occurs when get service information is completed. This event is raised when GetServiceInfo method is called.  
public EventJobCompleted Occurs when a SubmitJob operation of the geoprocessing task successfully completes.  
public EventPropertyChanged Occurs when a property value changes. (Inherited from ESRI.ArcGIS.Client.Tasks.TaskBase)
public EventStatusUpdated Occurs when a CheckStatus operation of the geoprocessing task successfully completes.  
Top

See Also

© ESRI, Inc. All Rights Reserved.