Bagikan melalui


LeakTrackingObjectPoolProvider Kelas

Definisi

Perhatian

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 Yang menghasilkan instans 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
Warisan
LeakTrackingObjectPoolProvider
Atribut

Konstruktor

LeakTrackingObjectPoolProvider(ObjectPoolProvider)
Kedaluwarsa.

Menginisialisasi instans baru .LeakTrackingObjectPoolProvider

Metode

Create<T>()
Kedaluwarsa.

Membuat sebuah ObjectPool.

(Diperoleh dari ObjectPoolProvider)
Create<T>(IPooledObjectPolicy<T>)
Kedaluwarsa.

ObjectPool Membuat dengan yang diberikan IPooledObjectPolicy<T>.

Equals(Object)
Kedaluwarsa.

Menentukan apakah objek yang ditentukan sama dengan objek saat ini.

(Diperoleh dari Object)
GetHashCode()
Kedaluwarsa.

Berfungsi sebagai fungsi hash default.

(Diperoleh dari Object)
GetType()
Kedaluwarsa.

Mendapatkan dari instans Type saat ini.

(Diperoleh dari Object)
MemberwiseClone()
Kedaluwarsa.

Membuat salinan dangkal dari saat ini Object.

(Diperoleh dari Object)
ToString()
Kedaluwarsa.

Mengembalikan string yang mewakili objek saat ini.

(Diperoleh dari Object)

Metode Ekstensi

CreateStringBuilderPool(ObjectPoolProvider)
Kedaluwarsa.

Membuat instans ObjectPool<T>StringBuilder kumpulan tersebut.

CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32)
Kedaluwarsa.

Membuat instans ObjectPool<T>StringBuilder kumpulan tersebut.

Berlaku untuk