Re: Response.End()

Discussion in 'ASP .Net' started by Alvin Bruney, Jun 26, 2003.

  1. Alvin Bruney

    Alvin Bruney Guest

    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" <> wrote in message
    news:#...
    > 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
    >
    >
    >
     
    Alvin Bruney, Jun 26, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Neo Geshel
    Replies:
    2
    Views:
    3,621
    Versteijn
    Aug 18, 2004
  2. William
    Replies:
    2
    Views:
    1,739
    Kevin Spencer
    Jun 1, 2005
  3. csgraham74

    Response.Redirect at a response.end

    csgraham74, Jun 16, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    879
    Karl Seguin
    Jun 16, 2005
  4. Replies:
    9
    Views:
    4,736
  5. Replies:
    2
    Views:
    355
Loading...

Share This Page