AssemblyLoadContext.IsCollectible Property


Gets a value that indicates whether this AssemblyLoadContext is collectible.

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

Property Value

true if this AssemblyLoadContext is collectible; otherwise, false. If a value is not specified in the constructor, the value is false.


For more information, see How to use and debug assembly unloadability in .NET Core.

Applies to