ESRI.ArcGIS.Mobile.Client
CredentialsRequiredCallback Delegate
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace : CredentialsRequiredCallback Delegate

type
The type of credentials requested.
connection
The MobileServiceConnection or TileServiceMapLayer to set credentials on.
Callback to provide (web or token) credentials when connecting to a mobile service.

Syntax

Visual Basic (Declaration) 
Public Delegate Function CredentialsRequiredCallback( _
   ByVal type As CredentialsType, _
   ByVal connection As Object _
) As Object
C# 
public delegate object CredentialsRequiredCallback( 
   CredentialsType type,
   object connection
)

Parameters

type
The type of credentials requested.
connection
The MobileServiceConnection or TileServiceMapLayer to set credentials on.

Return Value

The new credentials. Must be of type NetworkCredential or TokenCredential. Return null to cancel initialization.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.