ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Hosting.Threading.Tasks Namespace / QueuedWorker Class / Run Method / Run(Action,CancellationToken) Method

In This Topic
    Run(Action,CancellationToken) Method
    In This Topic
    Queues a task to the queued worker thread.
    Syntax
    Public Overloads Shared Function Run( _
       ByVal action As Action, _
       ByVal cancellationToken As CancellationToken _
    ) As Task

    Parameters

    action
    cancellationToken
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also