BufferManager.CreateBufferManager Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a new BufferManager with a specified maximum buffer pool size and a maximum size for each individual buffer in the pool.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- maxBufferPoolSize
- Type: System.Int64
The maximum size of the pool.
- maxBufferSize
- Type: System.Int32
The maximum size of an individual buffer.
Return Value
Type: System.ServiceModel.Channels.BufferManagerReturns a BufferManager object with the specified parameters.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | maxBufferPoolSize or maxBufferSize was less than zero. |
Show: