ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Hosting.Threading.Tasks Namespace / QueuedWorker Class / OnWorker Property

OnWorker Property (QueuedWorker)
Returns True if called from the worker thread.
Syntax
public static bool OnWorker {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also