WorkUnit.UpdateProgressAndCheckCancelledParallel Method
Protected Friend Function UpdateProgressAndCheckCancelledParallel( _
ByVal total As Integer, _
ByVal text As String, _
ByVal worker As BackgroundWorker, _
ByVal doWorkEventArgs As DoWorkEventArgs _
) As Boolean
This language is not supported or no code example is available.
internal protected bool UpdateProgressAndCheckCancelledParallel(
int total,
string text,
BackgroundWorker worker,
DoWorkEventArgs doWorkEventArgs
)
This language is not supported or no code example is available.
Parameters
- total
- int
The total number of steps
- text
- string
The progress bar text
- worker
- BackgroundWorker
The background worker thread
- doWorkEventArgs
- DoWorkEventArgs
DoWork event arguments
Return Value
boolFalse if the worker thread was canceled, true otherwise.
Call ResetProgressParallel before starting the parallel loop.