ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Hosting.Threading.Tasks Namespace / QueuedWorker Class / Run Method / Run<T>(Func<T>) Method

Run<T>(Func<T>) Method
Queues a task to the queued worker thread.
Syntax
public static Task<T> Run<T>( 
   Func<T> function
)

Parameters

function

Type Parameters

T
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also