BackgroundWorker.WorkerReportsProgress Property
.NET Framework 4
Gets or sets a value indicating 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Property not valid
When I try to change the property from false to true, I get an error "Property value is not valid". So, I'm unable to change the property from false to true.
- 5/27/2012
- Joshua Smartest Guy in the Wolrd