aafgilbert01

ArcGISLocalDynamicMapServiceLayer InitializationFailed

Discussion created by aafgilbert01 on Apr 9, 2013
Hello I would like to have a code sample to manage the error when the map package has the wrong name. So far I have declared the InitializationFailed event but my problem is that the Initialized event is fired before the InitializationFailed. If I want to trap the error, the InitializationFailed event need to fire before I think.


<esri:ArcGISLocalDynamicMapServiceLayer ID="StaticLayers" x:Name="HQ"
DisplayName="Configuration statique"
Path="Data\\MPKs\\HQ_S_1.mpk"
InitializationFailed="HQ_InitializationFailed"
Initialized="ArcGISLocalDynamicMapServiceLayer_Initialized"

François

Outcomes