ArcGIS API for Silverlight - Library Reference
IdentityManager.ChallengeDelegate Delegate
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace : IdentityManager.ChallengeDelegate Delegate

url
The service url.
completeHandler
The callback.
generateTokenOptions
The options use to generate a token (referer, proxyUrl, token validity).
Represents the method that challenges the user in order to get a valid token credential object.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub IdentityManager.ChallengeDelegate( _
   ByVal url As String, _
   ByVal completeHandler As Action(Of IdentityManager.Credential,Exception), _
   Optional ByVal generateTokenOptions As IdentityManager.GenerateTokenOptions _
) 
C# 
public delegate void IdentityManager.ChallengeDelegate( 
   string url,
   Action<IdentityManager.Credential,Exception> completeHandler,
   IdentityManager.GenerateTokenOptions generateTokenOptions
)

Remarks

The callback must absolutely be called by the challenge method either with a credential or with an error else the process will be stuck waiting for an answer.

Parameters

url
The service url.
completeHandler
The callback.
generateTokenOptions
The options use to generate a token (referer, proxyUrl, token validity).

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.