[Mono-dev] (Nevermind) Asp.net thread abort issue
Joshua Tauberer
tauberer at for.net
Sun Oct 9 08:04:51 EDT 2005
Gonzalo Paniagua Javier wrote:
> Anyway, if you ever decide to catch ThreadAbortException anywhere in the
> asp.net pipeline, bear in mind that it's used also when the configured
> timeout is reached.
The timeout for what?
This ThreadAbortException business is quite something to get a handle
on. For instance, if you abort the thread within a method called by
reflection, when Invoke() finishes the exception is a
TargetInvocationException and not a ThreadAbortException, confusing my
catch clauses higher up. Is that the right behavior? It also doesn't
do the usual automatic re-throwing of the ThreadAbortException after
catch clauses, so the thread goes on if the exception is caught at any
point.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
More information about the Mono-devel-list
mailing list