ArcGIS Pro 2.9 API Reference Guide
Current Property (BackgroundProgressor)

ArcGIS.Core.Threading.Tasks Namespace > BackgroundProgressor Class : Current Property
Returns the Progressor associated with the Task currently running on the calling thread. Returns null if not called on one of the threads in the pool.
Syntax
public static BackgroundProgressor Current {get;}
Public Shared ReadOnly Property Current As BackgroundProgressor
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

BackgroundProgressor Class
BackgroundProgressor Members