WorkUnit.UpdateProgress (Int32, Int32, String, BackgroundWorker, Boolean) Method

Updates the progress bar value.
Protected Friend Sub UpdateProgress( _ 
ByVal current As Integer, _ 
ByVal total As Integer, _ 
ByVal text As String, _ 
ByVal worker As BackgroundWorker, _ 
Optional ByVal forceUpdate As Boolean = false _ 
)
This language is not supported or no code example is available.
internal protected void UpdateProgress( 
int current
int total
string text
BackgroundWorker worker
bool forceUpdate = false 
)
This language is not supported or no code example is available.

Parameters

current
int

The current step

total
int

The total number of steps

text
string

The progress bar text

worker
BackgroundWorker

The background worker thread

forceUpdate
bool

When true the event is always fired. Must be used with caution!

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition