Re: Why finally?

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Alvin Bruney" <www.lulu.com/owc> wrote in message
news:%23supWfZYGHA.3848@xxxxxxxxxxxxxxxxxxxxxxx
| Yes, very nice. I get the same results from executing the code as well.
| This seems to be a definite improvement of V1.x of the framework.
|

Sure it is, hosted environments like ASP.NET and especially SQL Server,
where AD unloads do inject ThreadAbortExceptions into all running threads,
cannot afford resource leaks due to a finally block being aborted before
running to an end.

Willy.



.