PageBlobClient.GetAllPageRangesAsync Method

Definition

The GetAllPageRangesAsync(GetPageRangesOptions, CancellationToken) operation returns the list of valid page ranges for a page blob or snapshot of a page blob.

For more information, see Get Page Ranges.

C#
public virtual Azure.AsyncPageable<Azure.Storage.Blobs.Models.PageRangeItem> GetAllPageRangesAsync(Azure.Storage.Blobs.Models.GetPageRangesOptions options = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

options
GetPageRangesOptions

Optional parameters.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A AsyncPageable<T> describing the valid page ranges for this blob.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview