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.
Provides a resource pool that enables reusing instances of type T.
generic <typename T> public ref class ArrayPool abstract
public abstract class ArrayPool<T>
type ArrayPool<'T> = class
Public MustInherit Class ArrayPool(Of T)
The type of the objects that are in the resource pool.
Using the ArrayPool<T> class to rent and return buffers (using the Rent and Return methods) can improve performance in situations where arrays are created and destroyed frequently, resulting in significant memory pressure on the garbage collector.
Initializes a new instance of the ArrayPool<T> class.
Gets a shared ArrayPool<T> instance.
Creates a new instance of the ArrayPool<T> class.
Creates a new instance of the ArrayPool<T> class using the specified configuration.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Retrieves a buffer that is at least the requested length.
Returns a string that represents the current object.(Inherited from Object)
This class is thread-safe. All members may be used by multiple threads concurrently.