title: Background worker Custom cancel message
body: <p>How can i show a custom cancel message at cancellation event of background worker</p>
  
  <p>I am using the below code in DoWork event to cancel the worker</p>
  
  <pre><code>string custom_cancel_msg="Cancelling BG WORKER due to some xxx reeasons";
  if (bw.WorkerSupportsCancellation == true)
  {
        bw.CancelAsync();
  }
  </code></pre>
  
  <p>How can i show this in the completed event . I have access to only the below things</p>
  
  <pre><code> if ((e.Cancelled == true))
          {
              lblMessage.Text = "Transaction Canceled in between!"; 
             //HOW CA|N I ACCESS THE CUSTOM MESSA|GE HERE??????????????????
          }
  
          else if (!(e.Error == null))
          {
              lblMessage.Text = ("Error: " + e.Error.Message);
          }
  
          else
          {
              lblMessage.Text = "Done!";
          }
  </code></pre>