Esri Business Analyst Server API for Silverlight 2.2 Reference
ArcGISAuthenticationTask Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.Tasks Namespace : ArcGISAuthenticationTask Class

Glossary Item Box

The ArcGISAuthenticationTask class helps to get a string-based response containing a short-lived or a long-lived token.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Remarks

The authentication token, while valid, may be used in the Token property of ArcGIS Server tasks.

Example

The code snippet below executes an ArcGIS Authentication task.
C#Copy Code
task.ExecuteAsync(username, password, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.AbstractTask
      ESRI.ArcGIS.Client.BACore.Tasks.ArcGISAuthenticationTask

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-2012 Esri, Inc. All Rights Reserved.