ArcGIS Runtime SDK for WPF - Library Reference
Initialize Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > ArcGISLocalDynamicMapServiceLayer Class : Initialize Method

Initializes the ArcGISLocalDynamicMapServiceLayer by creating the underlying LocalMapService.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub Initialize() 
C# 
public override void Initialize()

Remarks

The ArcGISLocalDynamicMapServiceLayer Initialize method overrides the base Initialize method to handle the creation of the underlying LocalMapService or reuse of an existing LocalMapService if one exists with the same properties. Once the LocalMapService creation has completed the Url property is set and the base class Initialise method is called to continue the initialization process.

It is not necessary to call the Initialize method explicitly since this process will be initiated by the Map when the layer is added to the ESRI.ArcGIS.Client.Map.Layers collection.

If the LocalMapService creation encountered an error the InitializationFailure property will contain the exception.

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.