Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run. |
//Modify a layout's CIM definition //Perform on the worker thread await QueuedTask.Run(() => { CIMLayout cimLayout = layout.GetDefinition(); //Do something layout.SetDefinition(cimLayout); });
Target Platforms: Windows 11, Windows 10, Windows 8.1