BufferManager.ReturnBuffer Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a buffer to the pool.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- buffer
- Type:
System.Byte
()
A reference to the buffer being returned.
| Exception | Condition |
|---|---|
| ArgumentNullException | buffer reference cannot be Nothing. |
| ArgumentException | Length of buffer does not match the pool's buffer length property. |
Show: