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

uploadParameters
Contains file stream and information about the file.
Uploads the file to the server.

Syntax

Visual Basic (Declaration) 
Public Overloads Function UploadTaskAsync( _
   ByVal uploadParameters As UploadParameters _
) As Task(Of UploadResult)
C# 
public Task<UploadResult> UploadTaskAsync( 
   UploadParameters uploadParameters
)

Parameters

uploadParameters
Contains file stream and information about the file.

Return Value

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