| Exception | Description | 
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. | 
This method only works with ObjectID-based selections.
using statement or a finally block. 
using statement or a finally block.Target Platforms: Windows 10, Windows 8.1