LeakTrackingObjectPoolProvider 类

定义

注意

LeakTrackingObjectPoolProvider was only intended for internal use in diagnostic builds of .NET. It never functioned in publicly shipped .NET versions and may be removed in a future release.

一个 ObjectPoolProvider ,它生成 实例 LeakTrackingObjectPool<T>

public ref class LeakTrackingObjectPoolProvider : Microsoft::Extensions::ObjectPool::ObjectPoolProvider
public class LeakTrackingObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider
[System.Obsolete("LeakTrackingObjectPoolProvider was only intended for internal use in diagnostic builds of .NET. It never functioned in publicly shipped .NET versions and may be removed in a future release.")]
public class LeakTrackingObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider
type LeakTrackingObjectPoolProvider = class
    inherit ObjectPoolProvider
[<System.Obsolete("LeakTrackingObjectPoolProvider was only intended for internal use in diagnostic builds of .NET. It never functioned in publicly shipped .NET versions and may be removed in a future release.")>]
type LeakTrackingObjectPoolProvider = class
    inherit ObjectPoolProvider
Public Class LeakTrackingObjectPoolProvider
Inherits ObjectPoolProvider
继承
LeakTrackingObjectPoolProvider
属性

构造函数

LeakTrackingObjectPoolProvider(ObjectPoolProvider)
已过时.

初始化 LeakTrackingObjectPoolProvider 的新实例。

方法

Create<T>()
已过时.

创建 ObjectPool

(继承自 ObjectPoolProvider)
Create<T>(IPooledObjectPolicy<T>)
已过时.

创建具有给定 IPooledObjectPolicy<T>ObjectPool

Equals(Object)
已过时.

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

作为默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()
已过时.

返回表示当前对象的字符串。

(继承自 Object)

扩展方法

CreateStringBuilderPool(ObjectPoolProvider)
已过时.

创建池ObjectPool<T>StringBuilder实例的 。

CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32)
已过时.

创建池ObjectPool<T>StringBuilder实例的 。

适用于