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).
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.