Table of Contents

Class ListContainersResponse

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

Provides methods for parsing the response from a container listing operation.

public sealed class ListContainersResponse : ResponseParsingBase<BlobContainerEntry>, IDisposable
Inheritance
ListContainersResponse
Implements
Inherited Members

Constructors

ListContainersResponse(Stream)

Initializes a new instance of the ListContainersResponse class.

public ListContainersResponse(Stream stream)

Parameters

stream Stream

The stream to be parsed.

Properties

Containers

Gets an enumerable collection of BlobContainerEntry objects from the response.

public IEnumerable<BlobContainerEntry> Containers { get; }

Property Value

IEnumerable<BlobContainerEntry>

An enumerable collection of BlobContainerEntry objects.

ListingContext

Gets the listing context from the XML response.

public ListingContext ListingContext { get; }

Property Value

ListingContext

A ListingContext object.

Marker

Gets the Marker value provided for the listing operation from the XML response.

public string Marker { get; }

Property Value

string

A string containing the Marker value.

MaxResults

Gets the MaxResults value provided for the listing operation from the XML response.

public int MaxResults { get; }

Property Value

int

An integer containing the MaxResults value.

NextMarker

Gets or sets the NextMarker value from the XML response, if the listing was not complete.

public string NextMarker { get; }

Property Value

string

A string containing the NextMarker value.

Prefix

Gets the Prefix value provided for the listing operation from the XML response.

public string Prefix { get; }

Property Value

string

A string containing the Prefix value.

Methods

ParseXml()

Parses the response XML for a container listing operation.

protected override IEnumerable<BlobContainerEntry> ParseXml()

Returns

IEnumerable<BlobContainerEntry>

An enumerable collection of BlobContainerEntry objects.