Thanks for Brock's suggestions.
Hi Xenophon,
I'm still not quite sure on the "external appdomain" you mentioned, is it a
separate appDomain where a certain executable assmebly(exe) is executing
or just a helper appdomain(as those add-in like appdomain)? As Brock has
mentioned, if you're doing cross-domain bound method calling , an unhandled
exception occured in the subdomain can be correctly handled in the parent
domain and the subdomain won't be unloaded. As for unhandled exceptions,
only when they're occuring in the main thread or an Unmanaged thread in the
appdomain will it cause the Process(not appdomain) to unload.
Please feel free to post here if you have some further nformation or
questions on this issue.
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)