AssemblyLoadContext.IsCollectible Property

Definition

Gets a value that indicates whether this AssemblyLoadContext is collectible.

C#
public bool IsCollectible { get; }

Property Value

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

Remarks

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

Applies to

Produkt Verzie
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10