ArcGIS Pro 2.6 API Reference Guide
Run<T>(Func<T>) Method

ArcGIS.Core.Hosting.Threading.Tasks Namespace > QueuedWorker Class > Run Method : Run<T>(Func<T>) Method
Queues a task to the queued worker thread.
Syntax
public static Task<T> Run<T>( 
   Func<T> function
)
Public Overloads Shared Function Run(Of T)( _
   ByVal function As Func(Of T) _
) As Task(Of T)

Parameters

function

Type Parameters

T
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

QueuedWorker Class
QueuedWorker Members
Overload List