Assembly.IsCollectible Assembly.IsCollectible Assembly.IsCollectible Assembly.IsCollectible Property

定义

获取一个值,该值指示此程序集是否保留在可回收的 AssemblyLoadContext 中。Gets a value that indicates whether this assembly is held in a collectible AssemblyLoadContext.

public:
 virtual property bool IsCollectible { bool get(); };
public virtual bool IsCollectible { get; }
member this.IsCollectible : bool
Public Overridable ReadOnly Property IsCollectible As Boolean

属性值

true 如果此程序集保留在可回收AssemblyLoadContext; 否则为falsetrue if this assembly is held in a collectible AssemblyLoadContext; otherwise, false.

注解

有关详细信息,请参阅如何使用和调试.NET Core 中的程序集 unloadabilityFor more information, see How to use and debug assembly unloadability in .NET Core.

适用于