Manager. Create Buffer Manager(Int64, Int32) Method
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.
Creates a new BufferManager with a specified maximum buffer pool size and a maximum size for each individual buffer in the pool.
public: static System::ServiceModel::Channels::BufferManager ^ CreateBufferManager(long maxBufferPoolSize, int maxBufferSize);
public static System.ServiceModel.Channels.BufferManager CreateBufferManager (long maxBufferPoolSize, int maxBufferSize);
static member CreateBufferManager : int64 * int -> System.ServiceModel.Channels.BufferManager
Public Shared Function CreateBufferManager (maxBufferPoolSize As Long, maxBufferSize As Integer) As BufferManager
The maximum size of the pool.
The maximum size of an individual buffer.
Returns a BufferManager object with the specified parameters.
There was insufficient memory to create the requested buffer pool.
maxBufferSize was less than zero.
This method creates a new buffer pool with as many buffers as can be created.