ArcGIS Pro 2.6 API Reference Guide
Run(Action,CancelableProgressor,TaskCreationOptions) Method

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

Parameters

action
progressor
creationOptions
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

QueuedTask Class
QueuedTask Members
Overload List