Delen via


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.

public virtual Azure.AsyncPageable<Azure.Storage.Blobs.Models.PageRangeItem> GetAllPageRangesAsync (Azure.Storage.Blobs.Models.GetPageRangesOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllPageRangesAsync : Azure.Storage.Blobs.Models.GetPageRangesOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Blobs.Models.PageRangeItem>
override this.GetAllPageRangesAsync : Azure.Storage.Blobs.Models.GetPageRangesOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Blobs.Models.PageRangeItem>
Public Overridable Function GetAllPageRangesAsync (Optional options As GetPageRangesOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PageRangeItem)

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