Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudPageBlob.GetPageRangesDiffAsync 方法

定义

重载

GetPageRangesDiffAsync(DateTimeOffset)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

GetPageRangesDiffAsync(DateTimeOffset, CancellationToken)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

GetPageRangesDiffAsync(DateTimeOffset)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset) As Task(Of IEnumerable(Of PageDiffRange))

参数

previousSnapshotTime
DateTimeOffset

一个 DateTimeOffset ,表示要用作差异起点的快照时间戳。 如果此 CloudPageBlob 表示快照,则 previousSnapshotTime 参数必须早于当前快照时间戳。

返回

一个 Task<TResult> 对象,它是表示异步操作的类型的 PageRange 可枚举集合。

属性

适用于

GetPageRangesDiffAsync(DateTimeOffset, CancellationToken)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of PageDiffRange))

参数

previousSnapshotTime
DateTimeOffset

一个 DateTimeOffset ,表示要用作差异起点的快照时间戳。 如果此 CloudPageBlob 表示快照,则 previousSnapshotTime 参数必须早于当前快照时间戳。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个 Task<TResult> 对象,它是表示异步操作的类型的 PageRange 可枚举集合。

属性

适用于

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset, offset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of IEnumerable(Of PageDiffRange))

参数

previousSnapshotTime
DateTimeOffset

一个 DateTimeOffset ,表示要用作差异起点的快照时间戳。 如果此 CloudPageBlob 表示快照,则 previousSnapshotTime 参数必须早于当前快照时间戳。

offset
Nullable<Int64>

数据范围的起始偏移量,以字节为单位。 必须是 512 的倍数。

length
Nullable<Int64>

数据范围的长度,以字节为单位。 必须是 512 的倍数。

accessCondition
AccessCondition

一个 AccessCondition 对象,表示继续处理请求而必须满足的条件。 如果为 null,则不使用任何条件。

options
BlobRequestOptions

一个 BlobRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

返回

一个 Task<TResult> 对象,它是表示异步操作的类型的 PageRange 可枚举集合。

属性

适用于

GetPageRangesDiffAsync(DateTimeOffset, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

启动异步操作以返回指定快照和此对象之间不同的页范围的集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange>> GetPageRangesDiffAsync (DateTimeOffset previousSnapshotTime, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
override this.GetPageRangesDiffAsync : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageDiffRange>>
Public Overridable Function GetPageRangesDiffAsync (previousSnapshotTime As DateTimeOffset, offset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of PageDiffRange))

参数

previousSnapshotTime
DateTimeOffset

一个 DateTimeOffset ,表示要用作差异起点的快照时间戳。 如果此 CloudPageBlob 表示快照,则 previousSnapshotTime 参数必须早于当前快照时间戳。

offset
Nullable<Int64>

数据范围的起始偏移量,以字节为单位。 必须是 512 的倍数。

length
Nullable<Int64>

数据范围的长度,以字节为单位。 必须是 512 的倍数。

accessCondition
AccessCondition

一个 AccessCondition 对象,表示继续处理请求而必须满足的条件。 如果为 null,则不使用任何条件。

options
BlobRequestOptions

一个 BlobRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个 Task<TResult> 对象,它是表示异步操作的类型的 PageRange 可枚举集合。

属性

适用于