ArcGIS Pro 2.6 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 10, Windows 8.1, Windows 7

See Also

Reference

BackgroundProgressor Class
BackgroundProgressor Members