Sign In
Neeraj Agrawal
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
About
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
No tags have been created or used yet.
Archive
Archives
March 2009
(1)
May 2008
(2)
February 2008
(1)
October 2006
(1)
April 2006
(1)
January 2006
(1)
September 2005
(1)
August 2005
(1)
Handling ThreadAbortException
MSDN Blogs
>
Neeraj Agrawal
>
Handling ThreadAbortException
Handling ThreadAbortException
NeerajAg
30 Jan 2006 10:04 AM
Comments
3
By definition ThreadAbortException cannot be stopped. Even if you have something like catch (ThreadAbortException) or catch (Exception), the ThreadAbortException invocation will follow the catch blocks. But as soon as the block ends the same exception is raised again.
The only way to eat out this exception is to catch and call Thread.CurrentThread.ResetAbort().
[http://msdn2.microsoft.com/en-us/library/system.threading.thread.resetabort.aspx]
3 Comments
Blog - Comment List MSDN TechNet
Comments
Loading...
Leave a Comment
Name
Comment
Please add 4 and 4 and type the answer here:
Post