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

ArcGIS.Core.Threading.Tasks Namespace > BackgroundTask Class > Run Method : Run<T>(Func<T>,BackgroundProgressor,TaskContinuationOptions) Method
Queue a new task to the background thread pool using the specified progressor.
Syntax
Public Overloads Shared Function Run(Of T)( _
   ByVal function As Func(Of T), _
   ByVal progressor As BackgroundProgressor, _
   Optional ByVal options As TaskContinuationOptions _
) As Task(Of T)

Parameters

function
progressor
options

Type Parameters

T
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

BackgroundTask Class
BackgroundTask Members
Overload List