LeakTrackingObjectPoolProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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.
An ObjectPoolProvider that produces instances of LeakTrackingObjectPool<T>.
public ref 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
[<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
- Inheritance
- Attributes
Constructors
LeakTrackingObjectPoolProvider(ObjectPoolProvider) |
Initializes a new instance of LeakTrackingObjectPoolProvider. |
Methods
Create<T>() |
Creates an ObjectPool. (Inherited from ObjectPoolProvider) |
Create<T>(IPooledObjectPolicy<T>) |
Creates an ObjectPool with the given IPooledObjectPolicy<T>. |
Extension Methods
CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32) |
Creates an ObjectPool<T> that pools StringBuilder instances. |
CreateStringBuilderPool(ObjectPoolProvider) |
Creates an ObjectPool<T> that pools StringBuilder instances. |