Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This property must be called within the lambda passed to QueuedTask.Run |
LegendStyleItem legendStyleItem = null; CIMLegend legend = await QueuedTask.Run<CIMLegend>(() => { return legendStyleItem.Legend; });
Target Platforms: Windows 11, Windows 10