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

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

Parameters

current
double

The current step

total
double

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!

args
string[]

A string array that contains zero or more strings to format for the progress bar text

.NET Framework

Supported in: 4.8

In this article

Definition