Share via


BufferPoolManager.ReturnBuffer(IPooledBuffer) Method

Definition

Returns a buffer to the pool. if limit crosses, buffer won't be returned to the Pool. It return false , if buffer is not returned.

public bool ReturnBuffer (Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IPooledBuffer buffer);
abstract member ReturnBuffer : Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IPooledBuffer -> bool
override this.ReturnBuffer : Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IPooledBuffer -> bool
Public Function ReturnBuffer (buffer As IPooledBuffer) As Boolean

Parameters

buffer
IPooledBuffer

Represents Buffer to be returned to the pool

Returns

True If returned to the pool succeded otherwise false.

Implements

Applies to