Essential C# BackgroundWorker  Suggest an edit

Assigning Properties to a BackgroundWorker

This allows the BackgroundWorker to be cancelled in between tasks

bgWorker.WorkerSupportsCancellation = true;

This allows the worker to report progress between completion of tasks…

bgWorker.WorkerReportsProgress = true;

// this must also be used in conjunction with the ProgressChanged event

Table Of Contents
22 Enum
107 Stream
108 Timers
114 BackgroundWorker
  ↑ ↓ to navigate     ↵ to select     Esc to close