可能性の重複:
In C# will the Finally block be executed in a try, catch, finally if an unhandled exception is thrown ?例外
は、最終的には(C#で)このシナリオで実行されますか?
try
{
// Do something.
}
catch
{
// Rethrow the exception.
throw;
}
finally
{
// Will this part be executed?
}
この複製(またはそこにリンクされている他の複製のいずれか)を参照してください:http://stackoverflow.com/questions/833946/in-c-will-the-finally-block-be-executed-in-a-try -catch-finally-if-an-unhandled –