C# 0xC0000005 捕获
2021-06-16 12:04
标签:ring cat ati ++ and 情况下 cse stat corrupted [HandleProcessCorruptedStateExceptions]//捕获c++异常 } } .net 4x 中,c# 默认情况下只处理SEH的异常。不处理CSE的异常 C# 0xC0000005 捕获 标签:ring cat ati ++ and 情况下 cse stat corrupted 原文地址:https://www.cnblogs.com/ilookbo/p/10348831.html
[SecurityCritical]//捕获c++异常
public void xxx()
{
try
{
catch (System.AccessViolationException ex) //捕获cse类型的异常
{
Console.WriteLine(" 0xC0000005 exception:" + ex.ToString());
}
下一篇:window