Condividi tramite


IBufferManager.ReturnBuffer(Byte[]) Method

Definition

Returns a buffer to the pool.

public void ReturnBuffer (byte[] buffer);
abstract member ReturnBuffer : byte[] -> unit
Public Sub ReturnBuffer (buffer As Byte())

Parameters

buffer
Byte[]

A byte array specifying the buffer to return to the pool.

Exceptions

Buffer reference cannot be null.

Length of buffer does not match the pool's buffer length property.

Applies to