开发者

Can I create my own AppDomain in a SilverLight application?

I'm building a SilverLight application that is dynamically loading assemblies. I would also like to be able to unload them without closing out the current SilverLight application. However, the SilverLight AppDomain class appears to be missing a开发者_JS百科 CreateDomain method.

If I can't create an AppDomain, is there an alternate mechanism to unload the assemblies ? I have an alternate strategy if they can't be unloaded, but unloading them when they are done would be the ideal approach.


You can't create additional AppDomains. A Silverlight application runs in its own specific AppDomain and thats it.

There is no way that I know of to unload assemblies that have been loaded. Are sure its necessary to do so? What happens if you don't bother?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜