4724e96efe
c# 异步任务里面的异常,不会在异步之外被捕获。 ``` try { Task.Run(()=>{ throw new Exception() //此异常不会被捕获 ) }; catch(Exception ex) { //将不会捕获异常 }
11 lines
442 B
XML
11 lines
442 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
-->
|
|
<Project>
|
|
<PropertyGroup>
|
|
<History>True|2024-10-28T10:24:22.2791029Z||;True|2024-10-28T17:30:28.6485638+08:00||;False|2024-10-28T17:29:49.7948159+08:00||;</History>
|
|
<LastFailureDetails />
|
|
<_PublishTargetUrl>D:\git\FileSqlServerSync\Server\RemoteServer\bin\Release\net8.0\publish\</_PublishTargetUrl>
|
|
</PropertyGroup>
|
|
</Project> |