BufferManager.TakeBuffer Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a buffer of at least the specified size from the pool.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- bufferSize
- Type: System.Int32
The size, in bytes, of the requested buffer.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | bufferSize cannot be less than zero. |
Show: