共用方式為


BufferPoolManager.TakeBuffer Method

Definition

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

Implements

Applies to