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

ICheckpointManager.CheckpointAsync(Lease, String, Int64) 方法

定义

将特定分区的偏移量存储在特定于主机的存储中。

public System.Threading.Tasks.Task CheckpointAsync (Microsoft.ServiceBus.Messaging.Lease lease, string offset, long sequenceNumber);
abstract member CheckpointAsync : Microsoft.ServiceBus.Messaging.Lease * string * int64 -> System.Threading.Tasks.Task
Public Function CheckpointAsync (lease As Lease, offset As String, sequenceNumber As Long) As Task

参数

lease
Lease

要对其执行检查点的分区信息。

offset
String

流中的当前位置。

sequenceNumber
Int64

分区的序列号。

返回

返回 Task

适用于