Storage Client Library for Windows Runtime (Version 7.0)

Microsoft.WindowsAzure.Storage.Queue

Gets a buffer of the specified size or larger from the pool.

Namespace:   Microsoft.WindowsAzure.Storage
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
byte[] TakeBuffer(
	int bufferSize
)
 
array<unsigned char>^ TakeBuffer(
	int bufferSize
)
 
abstract TakeBuffer : 
        bufferSize:int -> byte[]
 
Function TakeBuffer (
	bufferSize As Integer
) As Byte()

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.

Return to top