Raises the ProgressChanged event.

Namespace: System.Extensions.Windows.Forms
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public void ReportProgress(
	int percentProgress,
	Object userState
)
Visual Basic
Public Sub ReportProgress ( 
	percentProgress As Integer,
	userState As Object
)
Visual C++
public:
void ReportProgress(
	int percentProgress, 
	Object^ userState
)
F#
member ReportProgress : 
        percentProgress : int * 
        userState : Object -> unit 

Parameters

percentProgress
Type: System..::..Int32
THe percentage, from 0 to 100, of the background operation that is complete.
userState
Type: System..::..Object
The state object passed to ReportProgress(Int32, Object).

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionThe WorkerReportsProgress property is set to false.

See Also