BufferManager.TakeBuffer Method
Silverlight
Gets a buffer of at least the specified size from the pool.
Namespace: System.ServiceModel.Channels
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. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.