Share via


IMemoryPoolFactory<T>.Create(MemoryPoolOptions) Method

Definition

Creates a new instance of a memory pool.

public System.Buffers.MemoryPool<T> Create(Microsoft.AspNetCore.Connections.MemoryPoolOptions? options = default);
abstract member Create : Microsoft.AspNetCore.Connections.MemoryPoolOptions -> System.Buffers.MemoryPool<'T>
Public Function Create (Optional options As MemoryPoolOptions = Nothing) As MemoryPool(Of T)

Parameters

options
MemoryPoolOptions

Options for configuring the memory pool.

Returns

A new memory pool instance.

Applies to