I am getting the ‘Collection was modified; enumeration operation may not execute’ exception while executing FeatureSource.GetFeaturesByColumnValue method.
The exception not getting every time, Application having timer to refresh updated data on the map. Some rare cases only It’s happening. I am not applying DrawingExceptionMode property to Layer/Overlay.
ftsActualRoute = imActualRouteLayer.FeatureSource.GetFeaturesByColumnValue(“FlightID”, _sFlightID);
Can you please give me some suggestions to resolve this issue.