ArcGIS Runtime SDK for WPF - Library Reference
DeleteTaskAsync(String) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > UploadTask Class > DeleteTaskAsync Method : DeleteTaskAsync(String) Method

itemID
The item ID.
Deletes the uploaded item from server.

Syntax

Visual Basic (Declaration) 
Public Overloads Function DeleteTaskAsync( _
   ByVal itemID As String _
) As Task(Of DeleteTaskResult)
C# 
public Task<DeleteTaskResult> DeleteTaskAsync( 
   string itemID
)

Parameters

itemID
The item ID.

Return Value

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