ArcGIS Runtime SDK for WPF - Library Reference
GetResultDataTaskAsync(String,String,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > Geoprocessor Class > GetResultDataTaskAsync Method : GetResultDataTaskAsync(String,String,CancellationToken) Method

jobId
A string that uniquely identifies a job on the server. It is created when a job is submitted for execution and later used to check its status and retrieve the results.
parameterName
The name of the result parameter as defined in ArcGIS Services Directory.
cancellationToken
The cancellation token for cancelling task.
Sends a request to the Geoprocessor task to get the task result identified by jobId and parameterName.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetResultDataTaskAsync( _
   ByVal jobId As String, _
   ByVal parameterName As String, _
   ByVal cancellationToken As CancellationToken _
) As Task(Of GPParameter)
C# 
public Task<GPParameter> GetResultDataTaskAsync( 
   string jobId,
   string parameterName,
   CancellationToken cancellationToken
)

Parameters

jobId
A string that uniquely identifies a job on the server. It is created when a job is submitted for execution and later used to check its status and retrieve the results.
parameterName
The name of the result parameter as defined in ArcGIS Services Directory.
cancellationToken
The cancellation token for cancelling task.

Return Value

a Task object with GPParameter upon successful completion. Otherwise, the Task.Exception is set.

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.