ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Threading.Tasks Namespace / QueuedTask Class / Run Method / Run<T>(Func<Task<T>>,CancelableProgressor,TaskCreationOptions) Method

In This Topic
    Run<T>(Func<Task<T>>,CancelableProgressor,TaskCreationOptions) Method
    In This Topic
    Queue a new cancelable task of type T to the framework dispatcher thread using the specified progressor.
    Syntax

    Parameters

    function
    progressor
    creationOptions

    Type Parameters

    T
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also