Catch (WMS)layer exceptions

11-16-2017 06:57 AM
New Contributor


I have a WPF application that uses ArcGIS Runtime for .NET 10.2.7. I have few WMS layers added to my map. My goal is to be able to handle exceptions that might be thrown when user is navigating in the map. (Those exceptions can be thrown when eg. internet connection went down, WMS service stopped working for a while, etc.)

I am not able to catch those exceptions at all. What is the best approach to handle such cases?

The thing that I am able to do is to catch exceptions thrown when layers are initializing. However, layers could still initialize correctly but later map navigation might fail.

Thanks for any ideas.


0 Replies