IMemoryPoolFactory<T>.Create(MemoryPoolOptions) Method
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.
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.