共用方式為


LeakTrackingObjectPool<T>(ObjectPool<T>) 建構函式

定義

初始化 LeakTrackingObjectPool<T> 的新執行個體。

public:
 LeakTrackingObjectPool(Microsoft::Extensions::ObjectPool::ObjectPool<T> ^ inner);
public LeakTrackingObjectPool (Microsoft.Extensions.ObjectPool.ObjectPool<T> inner);
new Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool<'T (requires 'T : null)> : Microsoft.Extensions.ObjectPool.ObjectPool<'T (requires 'T : null)> -> Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool<'T (requires 'T : null)>
Public Sub New (inner As ObjectPool(Of T))

參數

inner
ObjectPool<T>

ObjectPool<T> 追蹤流失的實例。

適用於