Class ListRangesResponse
- Namespace
- Microsoft.WindowsAzure.Storage.File.Protocol
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Provides methods for parsing the response from an operation to get a range for a file.
public sealed class ListRangesResponse : ResponseParsingBase<FileRange>, IDisposable
- Inheritance
-
ListRangesResponse
- Implements
- Inherited Members
Constructors
ListRangesResponse(Stream)
Initializes a new instance of the ListRangesResponse class.
public ListRangesResponse(Stream stream)
Parameters
stream
StreamThe stream of ranges to be parsed.
Properties
Ranges
Gets an enumerable collection of FileRange objects from the response.
public IEnumerable<FileRange> Ranges { get; }
Property Value
- IEnumerable<FileRange>
An enumerable collection of FileRange objects.
Methods
ParseXml()
Parses the XML response for an operation to get a range for a file.
protected override IEnumerable<FileRange> ParseXml()
Returns
- IEnumerable<FileRange>
An enumerable collection of FileRange objects.