Class ListSharesResponse
- Namespace
- Microsoft.WindowsAzure.Storage.File.Protocol
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Provides methods for parsing the response from a share listing operation.
public sealed class ListSharesResponse : ResponseParsingBase<FileShareEntry>, IDisposable
- Inheritance
-
ListSharesResponse
- Implements
- Inherited Members
Constructors
ListSharesResponse(Stream)
Initializes a new instance of the ListSharesResponse class.
public ListSharesResponse(Stream stream)
Parameters
stream
StreamThe stream to be parsed.
Properties
ListingContext
Gets the listing context from the XML response.
public ListingContext ListingContext { get; }
Property Value
- ListingContext
A set of parameters for the listing operation.
Marker
Gets the Marker value provided for the listing operation from the XML response.
public string Marker { get; }
Property Value
- string
The Marker value.
MaxResults
Gets the MaxResults value provided for the listing operation from the XML response.
public int MaxResults { get; }
Property Value
- int
The MaxResults value.
NextMarker
Gets the NextMarker value from the XML response, if the listing was not complete.
public string NextMarker { get; }
Property Value
- string
The NextMarker value.
Prefix
Gets the Prefix value provided for the listing operation from the XML response.
public string Prefix { get; }
Property Value
- string
The Prefix value.
Shares
Gets an enumerable collection of FileShareEntry objects from the response.
public IEnumerable<FileShareEntry> Shares { get; }
Property Value
- IEnumerable<FileShareEntry>
An enumerable collection of FileShareEntry objects.
Methods
ParseXml()
Parses the response XML for a share listing operation.
protected override IEnumerable<FileShareEntry> ParseXml()
Returns
- IEnumerable<FileShareEntry>
An enumerable collection of FileShareEntry objects.