4724e96efe
c# 异步任务里面的异常,不会在异步之外被捕获。 ``` try { Task.Run(()=>{ throw new Exception() //此异常不会被捕获 ) }; catch(Exception ex) { //将不会捕获异常 } |
||
---|---|---|
.. | ||
Controllers | ||
Migrations | ||
Models | ||
Properties | ||
appsettings.Development.json | ||
appsettings.json | ||
Program.cs | ||
RemoteServer.csproj | ||
RemoteServer.csproj.user | ||
RemoteSyncServer.cs | ||
RemoteSyncServerFactory.cs | ||
StateHelper.cs | ||
SyncFilesLog.db |