The framework raises a thread abort exception ( you may as well if you call
thread.abort). It can be caught be is immidiately rethrown by the framework
so no you cannot prevent it.

"alien2_51" <dan.billow@n.o.s.p.a.m.monacocoach.com> wrote in message
news:#X2CSDzODHA.1584@TK2MSFTNGP11.phx.gbl...
> In response.redirect I can pass endResponse and prevent the threadabort
> exception, how can I prevent such an exception in this case
>
>
>
> Try
>
> Response.End()
>
> Catch ex As System.Threading.ThreadAbortException
>
> Return
>
> End Try
>
>
>