Table of Contents

Class ListBlobsResponse

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

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

public sealed class ListBlobsResponse : ResponseParsingBase<IListBlobEntry>, IDisposable
Inheritance
ListBlobsResponse
Implements
Inherited Members

Constructors

ListBlobsResponse(Stream)

Initializes a new instance of the ListBlobsResponse class.

public ListBlobsResponse(Stream stream)

Parameters

stream Stream

The stream to be parsed.

Properties

Blobs

Gets an enumerable collection of objects that implement IListBlobEntry from the response.

public IEnumerable<IListBlobEntry> Blobs { get; }

Property Value

IEnumerable<IListBlobEntry>

An enumerable collection of objects that implement IListBlobEntry.

Delimiter

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

public string Delimiter { get; }

Property Value

string

A string containing the Delimiter value.

ListingContext

Gets the listing context from the XML response.

public BlobListingContext ListingContext { get; }

Property Value

BlobListingContext

A BlobListingContext 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 blob listing operation.

protected override IEnumerable<IListBlobEntry> ParseXml()

Returns

IEnumerable<IListBlobEntry>

An enumerable collection of objects that implement IListBlobEntry.