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

In This Topic
    Run<T>(Func<Task<T>>,TaskCreationOptions) Method
    In This Topic
    Queue a new task of type T to the framework dispatcher.
    Syntax
    Public Overloads Shared Function Run(Of T)( _
       ByVal function As Func(Of Task(Of T)), _
       Optional ByVal creationOptions As TaskCreationOptions _
    ) As Task(Of T)

    Parameters

    function
    creationOptions

    Type Parameters

    T
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also