Export (0) Print
Expand All

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft