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

ArcGIS.Desktop.Framework.Threading.Tasks Namespace > QueuedTask Class > Run Method : Run<T>(Func<Task<T>>,TaskCreationOptions) Method
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 10, Windows 8.1, Windows 7

See Also

Reference

QueuedTask Class
QueuedTask Members
Overload List