ArcGIS Pro 2.7 API Reference Guide
Run(Func<Task>,Progressor,TaskCreationOptions) Method

ArcGIS.Desktop.Framework.Threading.Tasks Namespace > QueuedTask Class > Run Method : Run(Func<Task>,Progressor,TaskCreationOptions) Method
Queue a new task to the framework dispatcher thread using the specified progressor.
Syntax
Public Overloads Shared Function Run( _
   ByVal function As Func(Of Task), _
   ByVal progressor As Progressor, _
   Optional ByVal creationOptions As TaskCreationOptions _
) As Task

Parameters

function
progressor
creationOptions
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

QueuedTask Class
QueuedTask Members
Overload List