ShareFileClient.GetAllRangeListDiffAsync Method

Definition

Returns the list of ranges that have changed in the file since PreviousSnapshot was taken, as a paginated sequence.

For more information, see List Ranges.

public virtual Azure.AsyncPageable<Azure.Storage.Files.Shares.Models.ShareFileRange> GetAllRangeListDiffAsync(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllRangeListDiffAsync : Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Files.Shares.Models.ShareFileRange>
override this.GetAllRangeListDiffAsync : Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Files.Shares.Models.ShareFileRange>
Public Overridable Function GetAllRangeListDiffAsync (Optional options As ShareFileGetRangeListDiffOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ShareFileRange)

Parameters

options
ShareFileGetRangeListDiffOptions

Optional parameters.

cancellationToken
CancellationToken

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

Returns

An AsyncPageable<T> describing the changed ranges for this file. Items with IsClear set to true represent cleared ranges; all other items are populated ranges.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to