ArcGIS Runtime SDK for WPF - Library Reference
InitializeTaskAsync Method
See Also 
ESRI.ArcGIS.Client.Portal Namespace > ArcGISPortal Class : InitializeTaskAsync Method

url
The portal URL.
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 Function InitializeTaskAsync( _
   Optional ByVal url As String _
) As Task(Of ArcGISPortal)
C# 
public Task<ArcGISPortal> InitializeTaskAsync( 
   string url
)

Remarks

If the url is not specified and is not set, the arcgis.com portal URL is used by default.

Parameters

url
The portal URL.

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.