C#
C++
F#
VB
Gets a buffer of the specified size or larger from the pool.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Parameters
- bufferSize
-
Type:
System.Int32System::Int32System.Int32System.Int32
The size, in bytes, of the requested buffer.
Return Value
Type: System.Byte[]array<System::Byte>^System.Byte[]System.Byte()A byte array that is the requested size of the buffer.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The value specified for bufferSize cannot be less than zero. |