摘要: http://social.msdn.microsoft.com/Forums/vstudio/en-US/d0bcb415-fb1e-42e4-90f8-c43a088537fb/aborting-a-long-running-task-in-tpl?forum=parallelextensionsI hesitate to show this :), but if you really did want to use aborts, you could do something like:int Foo(CancellationTokentoken){Threadt=Thread.Curr 阅读全文
posted @ 2013-11-14 22:48 I'm CY 阅读(226) 评论(0) 推荐(0) 编辑