Hi All,
I want to check service type pragmatically and add corresponding service (Dyanamic or Tiled) on map. If i tried to add globe service as
"ArcGISDynamicMapServiceLayer" then code doesn't reached to Initialized or InitializedFailed event.
See below code for reference..
On run time, i am getting below exception and i am not able to catch.
Error: Unhandled Error in Silverlight Application Code: 4004 Category: ManagedRuntimeError Message: System.NullReferenceException: Object reference not set to an instance of an object. at ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer.<>c__DisplayClasse.<MapServiceInfoInitialized>b__c() |
Any help would be appreciated.