다음을 통해 공유


IBufferManager Interface

Definition

An interface that allows clients to provide a buffer manager to a given service client. This interface is patterned after the System.ServiceModel.Channels.BufferManager class.

public interface IBufferManager
type IBufferManager = interface
Public Interface IBufferManager

Methods

GetDefaultBufferSize()

Gets the size, in bytes, of the buffers managed by the given pool. Note that the buffer manager must return buffers of the exact size requested by the client.

ReturnBuffer(Byte[])

Returns a buffer to the pool.

TakeBuffer(Int32)

Gets a buffer of the specified size or larger from the pool.

Applies to