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

parameters
The parameters to use to submit a job to the task.
cancellationToken
The cancellation token for cancelling task.
Submits a job request to the server to execute an asynchronous geoprocessing task.

Syntax

Visual Basic (Declaration) 
Public Overloads Function SubmitJobTaskAsync( _
   ByVal parameters As List(Of GPParameter), _
   ByVal cancellationToken As CancellationToken _
) As Task(Of JobInfo)
C# 
public Task<JobInfo> SubmitJobTaskAsync( 
   List<GPParameter> parameters,
   CancellationToken cancellationToken
)

Parameters

parameters
The parameters to use to submit a job to the task.
cancellationToken
The cancellation token for cancelling task.

Return Value

a Task object with JobInfo 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.