BackgroundWorker.WorkerReportsProgress Property

 

Gets or sets a value indicating whether the BackgroundWorker can report progress updates.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public bool WorkerReportsProgress { get; set; }

Property Value

Type: System.Boolean

true if the BackgroundWorker supports progress updates; otherwise false. The default is false.

Set the WorkerReportsProgress property to true if you want the BackgroundWorker to support progress updates. When this property is true, user code can call the ReportProgress method to raise the ProgressChanged event.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: