Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Response.End()

Reply
Thread Tools

Re: Response.End()

 
 
Alvin Bruney
Guest
Posts: n/a
 
      06-25-2003
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" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> 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
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments