ArcGIS Runtime SDK for WPF - Library Reference
GenerateCredentialTaskAsync(String,GenerateTokenOptions) Method
See Also 
ESRI.ArcGIS.Client Namespace > IdentityManager Class > GenerateCredentialTaskAsync Method : GenerateCredentialTaskAsync(String,GenerateTokenOptions) Method

url
The URL.
generateTokenOptions
The optional infos concerning the token to generate (referer, proxyURL).
Generates a token credential object asynchronously using a task object. You need to provide the service URL. This is a helper method typically called by the UI challenging the user.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GenerateCredentialTaskAsync( _
   ByVal url As String, _
   Optional ByVal generateTokenOptions As IdentityManager.GenerateTokenOptions _
) As Task(Of IdentityManager.Credential)

Parameters

url
The URL.
generateTokenOptions
The optional infos concerning the token to generate (referer, proxyURL).

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.