Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run. |
//Set a custom property on an element. //Perform on the worker thread await QueuedTask.Run(() => { element.SetCustomProperty("MyKeyString", "MyValueString"); });
Target Platforms: Windows 10, Windows 8.1