ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework.Threading.Tasks Namespace / QueuedTask Class / OnWorker Property

In This Topic
    OnWorker Property (QueuedTask)
    In This Topic
    Gets a boolean value of True if called from the worker thread.
    Syntax
    public static bool OnWorker {get;}
    Public Shared ReadOnly Property OnWorker As Boolean
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also