ArcGIS Runtime SDK for WPF - Library Reference
DownloadStringTaskAsync Method
See Also 
ESRI.ArcGIS.Client Namespace > ArcGISWebClient Class : DownloadStringTaskAsync Method

uri
A System.Uri containing the URI to download.
parameters
The collection of query key/value pairs associated with the request.
httpMethod
The HTTP method to use.
Downloads asynchronously the resource specified as a System.Uri.

Syntax

Visual Basic (Declaration) 
Public Function DownloadStringTaskAsync( _
   ByVal uri As Uri, _
   Optional ByVal parameters As IDictionary(Of String,String), _
   Optional ByVal httpMethod As ArcGISWebClient.HttpMethods _
) As Task(Of String)
C# 
public Task<string> DownloadStringTaskAsync( 
   Uri uri,
   IDictionary<string,string> parameters,
   ArcGISWebClient.HttpMethods httpMethod
)

Parameters

uri
A System.Uri containing the URI to download.
parameters
The collection of query key/value pairs associated with the request.
httpMethod
The HTTP method to use.

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.