ArcGIS Pro 2.8 API Reference Guide
OnGUI Property

ArcGIS.Desktop.Framework.Threading.Tasks Namespace > QueuedTask Class : OnGUI Property
Gets a boolean value of True if called from the GUI thread.
Syntax
public static bool OnGUI {get;}
Public Shared ReadOnly Property OnGUI As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

QueuedTask Class
QueuedTask Members