The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
BufferManager::ReturnBuffer Method (array<Byte>^)
.NET Framework (current version)
Returns a buffer to the pool.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- buffer
-
Type:
array<System::Byte>^
A reference to the buffer being returned.
| Exception | Condition |
|---|---|
| ArgumentNullException | buffer reference cannot be null. |
| ArgumentException | Length of buffer does not match the pool's buffer length property. |
The buffer is returned to the pool and is available for re-use.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: