Table of Contents

Class GetBlockListResponse

Namespace
Microsoft.WindowsAzure.Storage.Blob.Protocol
Assembly
Microsoft.WindowsAzure.Storage.dll

Provides methods for parsing the response from an operation to return a block list.

public class GetBlockListResponse : ResponseParsingBase<ListBlockItem>, IDisposable
Inheritance
GetBlockListResponse
Implements
Inherited Members

Constructors

GetBlockListResponse(Stream)

Initializes a new instance of the GetBlockListResponse class.

public GetBlockListResponse(Stream stream)

Parameters

stream Stream

The stream to be parsed.

Properties

Blocks

Gets an enumerable collection of ListBlockItem objects from the response.

public IEnumerable<ListBlockItem> Blocks { get; }

Property Value

IEnumerable<ListBlockItem>

An enumerable collection of ListBlockItem objects.

Methods

ParseXml()

Parses the XML response returned by an operation to retrieve a list of blocks.

protected override IEnumerable<ListBlockItem> ParseXml()

Returns

IEnumerable<ListBlockItem>

An enumerable collection of ListBlockItem objects.