ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Threading.Tasks Namespace / QueuedTask Class / UIScheduler Property

UIScheduler Property
Gets the TaskScheduler associated with the GUI thread; can be used to dispatch delegates that need to run on the user interface thread.
Syntax
public static TaskScheduler UIScheduler {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also