ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Threading.Tasks Namespace / BackgroundTask Class / Run Method / Run(Action,BackgroundProgressor,TaskContinuationOptions) Method

In This Topic
    Run(Action,BackgroundProgressor,TaskContinuationOptions) Method
    In This Topic
    Queue a new task to the background thread pool using the specified progressor.
    Syntax
    Public Overloads Shared Function Run( _
       ByVal action As Action, _
       ByVal progressor As BackgroundProgressor, _
       Optional ByVal options As TaskContinuationOptions _
    ) As Task

    Parameters

    action
    progressor
    options
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also