ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Threading.Tasks Namespace / QueuedTask Class / Run Method / Run(Action,TaskCreationOptions) Method

In This Topic
    Run(Action,TaskCreationOptions) Method
    In This Topic
    Queue a new task to the framework dispatcher thread.
    Syntax
    Public Overloads Shared Function Run( _
       ByVal action As Action, _
       Optional ByVal creationOptions As TaskCreationOptions _
    ) As Task

    Parameters

    action
    creationOptions
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also