IBufferManager.ReturnBuffer Method (Byte[]) (Microsoft.WindowsAzure.Storage)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
Returns a buffer to the pool.
Namespace:
Microsoft.WindowsAzure.Storage
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Parameters
- buffer
-
Type:
System.Byte[]array<System::Byte>^System.Byte[]System.Byte()
A byte array specifying the buffer to return to the pool.
Exceptions
Exception
Condition
ArgumentNullException Buffer reference cannot be null.
ArgumentException Length of buffer does not match the pool's buffer length property.
Return to top
Returns a buffer to the pool.
Syntax
Parameters
- buffer
-
Type:
System.Byte[]array<System::Byte>^System.Byte[]System.Byte()
A byte array specifying the buffer to return to the pool.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Buffer reference cannot be null. |
| ArgumentException | Length of buffer does not match the pool's buffer length property. |