About BackgroundWorker
申光临
2023-12-01
BackgroundWorker is a helper class in the System.ComponentModel namespace for managing a worker thread. It provides the following features:
* A "cancel" flag for signaling a worker to end without using Abort
* A standard protocol for reporting progress, completion and cancellation
* An implementation of IComponent allowing it be sited in the Visual Studio Designer
* Exception handling on the worker thread
* The ability to update Windows Forms and WPF controls in response to worker progress or completion.