CancellationToken not causing OperationCanceledException to be thrown

后端 未结 0 1594
别跟我提以往
别跟我提以往 2020-12-19 23:06

I want to restart a Task in case it is already running using a CancellationToken. Here is my code:

CancellationTokenSource cancellat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题