我通过调用BackgroundWorker上的CancelAsync()方法取消我的操作,当执行落入事件RunWorkerCompleted时,属性CancelledRunWorkerCompletedEventArgs为假。不过,我不太清楚应该在何时何地将其设置为true,如EventArgs属性中所示。那么,如何呢? 最佳答案 来自MSDN:TheCancelledpropertyofRunWorkerCompletedEventArgsindicateswhetheracancellationrequestwasprocess