ShareFileClient.GetAllRangeListDiff 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.Pageable<Azure.Storage.Files.Shares.Models.ShareFileRange> GetAllRangeListDiff(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllRangeListDiff : Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Files.Shares.Models.ShareFileRange>
override this.GetAllRangeListDiff : Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Files.Shares.Models.ShareFileRange>
Public Overridable Function GetAllRangeListDiff (Optional options As ShareFileGetRangeListDiffOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ShareFileRange)

Parameters

options
ShareFileGetRangeListDiffOptions

Optional parameters.

cancellationToken
CancellationToken

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

Returns

A Pageable<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