BufferManager::TakeBuffer Method (Int32)
.NET Framework (current version)
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. |
If successful, the system returns a byte array buffer of at least the requested size.
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: