共用方式為


IBlockPoolMonitor.TrackMemoryAllocated(Int64) 方法

定義

當快取新配置記憶體時呼叫。

public void TrackMemoryAllocated (long allocatedMemoryInByte);
public void TrackMemoryAllocated (long allocatedMemoryInBytes);
abstract member TrackMemoryAllocated : int64 -> unit
abstract member TrackMemoryAllocated : int64 -> unit
Public Sub TrackMemoryAllocated (allocatedMemoryInByte As Long)
Public Sub TrackMemoryAllocated (allocatedMemoryInBytes As Long)

參數

allocatedMemoryInByteallocatedMemoryInBytes
Int64

適用於