BufferPoolManager.TakeBuffer 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.
Gets a buffer from the pool. if it doesn't find any unused buffer , it instantiate new buffer.
public Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IPooledBuffer TakeBuffer ();
abstract member TakeBuffer : unit -> Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IPooledBuffer
override this.TakeBuffer : unit -> Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IPooledBuffer
Public Function TakeBuffer () As IPooledBuffer
Returns
The Pooled Buffer