ArcGIS Runtime SDK for WPF - Library Reference
ExecutionType Property
See Also 
ESRI.ArcGIS.Client.Local Namespace > GeoprocessingTaskInfo Class : ExecutionType Property

Gets the execution type of the geoprocessing task.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property ExecutionType As GPServiceType
C# 
public GPServiceType ExecutionType {get;}

Remarks

The ExecutionType shows whether the task is synchronous or asynchronous. When a GeoprocessingTask is set to synchronous the results of each operation are returned to the client as soon as the operation is complete. An asynchronous task typically takes longer to execute and a job ID is returned to the client. The client can then use this ID to retrieve the results at a convenient time. An asynchronous service also gives you the opportunity to get feedback on the job status of the asynchronous operation. Synchronous services are intended for geoprocessing operations that take a short amount of time to execute, while asynchronous services should be used for longer-running operations.

Property Value

A GPServiceType representing the execution type of the geoprocessing task.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.