在所有其他方面,可回收程序集的创建和使用方式都与其他动态程序集相同。
In all other respects, collectible assemblies are created and used in the same way as other dynamic assemblies.
当您释放了与可回收程序集关联的所有对象之后,公共语言运行时(CLR)会自动卸载该程序集。
The common language runtime (CLR) unloads a collectible assembly automatically when you have released all objects associated with the assembly.
可回收程序集是瞬态的(即,无法保存),并会受到针对可回收程序集的限制一节中所述的限制的约束。
The assembly is transient (that is, it cannot be saved) and is subject to limitations described in the Restrictions on Collectible Assemblies section.
应用推荐