nabrezzelt
Cancel long running task/method
Hi, i have a question: I have a WPF app and want to call the method
solver.Solve();
that could take some time but i have not "control" over the method. How can i put that onto another thread that is also cancelable? I tried this but it seems that the cancellationToken is only checked on entering this Task.Run:
26 replies