4724e96efe
c# 异步任务里面的异常,不会在异步之外被捕获。 ``` try { Task.Run(()=>{ throw new Exception() //此异常不会被捕获 ) }; catch(Exception ex) { //将不会捕获异常 } |
||
---|---|---|
.. | ||
DirFileOpTest.cs | ||
FileDirSimpleOp.cs | ||
FilesSeed.cs | ||
PipeSeed.cs | ||
PipeTest.cs | ||
PriorityOrderer.cs | ||
ServerTest.csproj | ||
TestPipe.cs | ||
TestPriorityAttribute.cs |