ArcGIS API for Silverlight - Library Reference
InitializeAsync Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Portal Namespace > ArcGISPortal Class : InitializeAsync Method

url
The portal URL.
callback
The callback executed when the result is available.
Initializes the portal object from the specified URL. At the end of the initialization, ArcGISPortalInfo, CurrentUser and CurrentVersion are available.

Syntax

Visual Basic (Declaration) 
Public Sub InitializeAsync( _
   ByVal url As String, _
   ByVal callback As Action(Of ArcGISPortal,Exception) _
) 
C# 
public void InitializeAsync( 
   string url,
   Action<ArcGISPortal,Exception> callback
)

Parameters

url
The portal URL.
callback
The callback executed when the result is available.

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.