[Mono-devel-list] ThreadAbortException - Why is it rethrown?

David Waite dwaite at gmail.com
Thu Aug 4 12:21:14 EDT 2005


ThreadAbort is thrown as result of the thread being aborted. You
cannot unabort the thread, just do cleanup before it finishes. So when
you catch the ThreadAbort, it is rethrown automatically to go to the
next higher cleanup routine.

-David Waite

On 8/4/05, Vivek, Bharath Varma (IE10) <Vivek.Varma at honeywell.com> wrote:
> Hi,
> 
> I have a question regarding ThreadAbortException.
> Why is the thread abort exception rethrown at the end of a catch clause?
> Why is ThreadAbortException's behavior designed to be this way?
> 
> Thanks in advance
> -Vivek
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



More information about the Mono-devel-list mailing list