开发者

Do I need to explicity unload an assembly I loaded dynamically?

I am using some .NET assemblies another developer wrote for use from an older VB6 application. They are only used for some of our customers so I am using the Assembly.LoadFrom(file) method and invoking the methods. I am worried about unloading / releasin开发者_如何学Gog the objects after I make the calls. Do I need to do something explicitly, or will the garbage collector take care of it automatically?


You can't unload an assembly.

(The closest you can come to that is loading it into an AppDomain that you then unload.)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜