Response.Redirect() inside a try-finally [duplicate]
Possible Duplicate:
Will code in finally run after a redirect?
Hello,
What happens when I call a Response.Redirect() with EndResponse set to true/false inisde a try/finally block? Will the finally be called?
The finally
block in a try/finally will always be called - that's the point of finally
.
Exceptions (minor) are described here: Conditions when finally does not execute in a .net try..finally block
精彩评论