{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "This change is implemented in changeset 79281.  The first binary to contain this new feature is v1.9.1.6",
    "ClosedDate": "2011-06-16T10:36:21.277-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Thanks for the link. The AddProgress event is working, but I am unable to cancel the operation.\n \n \n \nI tried both of these handlers seperately:\n \n                    'AddHandler Zip.AddProgress, New EventHandler(Of AddProgressEventArgs)(AddressOf Zip_AddProgress)                    AddHandler Zip.AddProgress, AddressOf Zip_AddProgress\n \n \n \n    Private Sub Zip_AddProgress(ByVal sender As Object, ByVal e As AddProgressEventArgs)\n \n        If bwBackup.CancellationPending Then e.Cancel = True 'If we press the stop button, invoke Cancel. RunWorkerCompleted will be called.        MsgBox(\"hi\")\n \n        Select Case e.EventType            Case ZipProgressEventType.Adding_Started                'code removed; update status label here.                Exit Select            Case ZipProgressEventType.Adding_AfterAddEntry                'code removed; update status label here.                'e.Cancel = True                Exit Select        End Select\n \nEnd Sub\n \n \n \nThe labels update as expected, and the message box fires constantly, as I would expect it to. However, e.Cancel is not working. Bypassing the background worker and directly cancelling the operation in Adding_AfterAddEntry (now commented out), did not work either. The operation continues until the SaveProgress phase, where it is cancelled immediately due to the previous call to bwBackup.CancelAsync.",
    "LastUpdatedDate": "2013-05-16T05:31:37.66-07:00",
    "PlannedForRelease": "v1.9.1.8 DotNetZip - Latest Stable",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-04-19T16:28:20.667-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Cannot cancel within AddProgress event",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 2,
    "Id": 13371
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "If the adding process cannot be cancelled through e.Cancel, is there another way to do it? You can use:\r\n\r\nIf bwWorker.CancellationPending Then Exit Sub\r\n\r\nThis seems to be ineffective.",
      "PostedDate": "2011-04-19T19:20:19.65-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-06-13T12:22:14.81-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-06-16T10:36:21.277-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:16.24-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:31:37.66-07:00",
      "Id": -2147483648
    }
  ]
}