title: How to immediately cancel a working BackgroundWorker?
body: <p>I have a time taking process in <code>DoWork</code> of my <code>BackgroundWorker</code>.</p>
  
  <p>Whenever I try to Cancel the job by <code>backgroundWorker1.CancelAsync()</code>, the <code>backgroundWorker1.CancellationPending</code> becomes Pending and I should wait for the next iteration in my <code>DoWork</code>  to Cancel the job and stepping out of it myself.</p>
  
  <p>Is there any way to Cancel the job immediately after calling it?</p>