4724e96efe
c# 异步任务里面的异常,不会在异步之外被捕获。 ``` try { Task.Run(()=>{ throw new Exception() //此异常不会被捕获 ) }; catch(Exception ex) { //将不会捕获异常 }
10 lines
539 B
XML
10 lines
539 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ActiveDebugProfile>http</ActiveDebugProfile>
|
|
<NameOfLastUsedPublishProfile>D:\git\FileSqlServerSync\Server\RemoteServer\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
|
</PropertyGroup>
|
|
</Project> |