470,620 Members | 1,606 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,620 developers. It's quick & easy.

appdomain unload ->System.Threading.ThreadAbortException: Thread was being aborted

When I unload an appdomain I have created, I always get the following
exeption:

System.Threading.ThreadAbortException: Thread was being aborted.

Before calling the Unload() method, I set to null all the references I have
to objects in the AppDomain.
Any idea?
Thanks,
Josť
Nov 16 '05 #1
2 4456
This is by design, a Thread.Abort is performed on all threads in an
application domain that is being unloaded.
It's up to you to handle or ignore the exception.

Willy.

"Josť Joye" <jo*******@KILLTHESPAMSbluewin.ch> wrote in message
news:uA**************@TK2MSFTNGP10.phx.gbl...
When I unload an appdomain I have created, I always get the following
exeption:

System.Threading.ThreadAbortException: Thread was being aborted.

Before calling the Unload() method, I set to null all the references I
have
to objects in the AppDomain.
Any idea?
Thanks,
Josť

Nov 16 '05 #2
Thanks,

I will hide it...

Josť
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:uK**************@TK2MSFTNGP09.phx.gbl...
This is by design, a Thread.Abort is performed on all threads in an
application domain that is being unloaded.
It's up to you to handle or ignore the exception.

Willy.

"Josť Joye" <jo*******@KILLTHESPAMSbluewin.ch> wrote in message
news:uA**************@TK2MSFTNGP10.phx.gbl...
When I unload an appdomain I have created, I always get the following
exeption:

System.Threading.ThreadAbortException: Thread was being aborted.

Before calling the Unload() method, I set to null all the references I
have
to objects in the AppDomain.
Any idea?
Thanks,
Josť


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Wal Turner | last post: by
13 posts views Thread by Mark | last post: by
1 post views Thread by BuddyWork | last post: by
5 posts views Thread by John Richardson | last post: by
22 posts views Thread by JPSutor | last post: by
2 posts views Thread by Lars Netzel | last post: by
reply views Thread by Zeya | last post: by
3 posts views Thread by =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.