How to kill Thread + .net + System.AddIn
I have developed one scheduler which is creating new thread at each new event. In that thread based on some id one dll is loaded using System.AddIn.
Now i want to 开发者_JAVA技巧kill that event in a midway?
How can i implement this functionality in this situation
I assume you are loading the addins in a separate appdomain. If not, start doing it. Otherwise you can't kill them in a controlled manner.
To kill an addin, unload the appdomain.
精彩评论