Overview
- Executes an operation on a separate, dedicated thread.
- Good for long running operations such as download and database transactions.
Implementation
- Implement operations in the DoWork event hanlder
- Call RunWorkerAsync to start the operation
- Receive notifications (update UI etc) in the ProgressChanged event handler
- Pass parameter to RunWorkerAsync and retrieve within DoWork event handler via DoWorkEventArgs.Arugument property