It would be nice if all the Metadata would be made available. You are populating it anyway.
Alternatively, you could as the default, always try to create an ArcGISTiledMapServiceLayer instance then fall back to an ArcGISDynamicMapServiceLayer if the InitializationFailed event fires (if will be raised if the service doesn't have a cache).
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.