Editar

Partilhar via


AssemblyLoadContext.IsCollectible Property

Definition

Gets a value that indicates whether this AssemblyLoadContext is collectible.

public:
 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.

Remarks

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

Applies to