Hi, ich habe mal wieder ein Problemchen in C#. Ich nutzte einen backgroundworker für eine Anwendung. Sobald ich den backgroundworker beenden möchte erscheint bei der Ausführung von
1 | backgroundworker_Cycle.CancelAsync(); |
folgende Meldung:
1 | System.InvalidOperationException |
2 | HResult=0x80131509 |
3 | Nachricht = This BackgroundWorker states that it doesn't support cancellation. Modify WorkerSupportsCancellation to state that it does support cancellation. |
4 | Quelle = System.ComponentModel.EventBasedAsync |
5 | Stapelüberwachung: |
6 | ...
|