Name | Description | |
---|---|---|
WorkUnit Constructor |
The following tables list the members exposed by WorkUnit.
Name | Description | |
---|---|---|
WorkUnit Constructor |
Name | Description | |
---|---|---|
ExecutionTime | Gets the (last) work execution time in milliseconds. |
Name | Description | |
---|---|---|
Cancelled | Checks if the user has requested cancellation of the background operation. | |
ResetProgressParallel | Resets the progress bar for a parallel loop. | |
StartContinuousAnimation | Start the animation for the continuous progress bar. | |
StopContinuousAnimation | Stop the animation for the continuous progress bar. | |
UpdateProgress | Overloaded. Updates the progress bar value. | |
UpdateProgressAndCheckCancelled | Updates the progress bar value and checks if the worker thread has been canceled. | |
UpdateProgressAndCheckCancelledParallel | Updates the progress bar value and checks if the worker thread has been canceled, for a parallel loop. | |
UpdateProgressParallel | Updates the progress bar value for a parallel loop. | |
UpdateProgressTo100 | Set the progress bar to 100% and forces screen update. | |
WorkCancelled | Called when the work is cancelled. | |
WorkCompleted | Called when the work has completed. In the case you are modeling something, the viewportLayout parameter allows you to easily add the model to the entities collection. | |
WorkFailed | Called when the work has failed. |
Name | Description | |
---|---|---|
ProgressChanged | Occurs when the DoWork() is called synchronously and the progress has changed. |