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

In This Topic
    OnWorker Property (QueuedWorker)
    In This Topic
    Returns True if called from the worker thread.
    Syntax
    Public Shared ReadOnly Property OnWorker As Boolean
    public static bool OnWorker {get;}
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also