BackgroundWorker.WorkerReportsProgress Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that indicates whether the BackgroundWorker can report progress updates.
Assembly: System (in System.dll)
Property Value
Type: System.Booleantrue 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.
When this property is false, calling the ReportProgress method will cause an InvalidOperationException.