Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


IPinnable Interface

Definition

Provides a mechanism for pinning and unpinning objects to prevent the garbage collector from moving them.

C#
public interface IPinnable
Derived

Remarks

The MemoryManager<T> class implements the IPinnable interface.

Methods

Pin(Int32)

Pins a block of memory.

Unpin()

Frees a block of pinned memory.

Applies to

Termék Verziók
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1