共用方式為


IAtomicGroupStateProvider.AtomicGroupUndoProgressAsync Method

Definition

Indicates that progress beyond a particular commit sequence number that is provided via AtomicGroupCommitAsync(Int64, Int64, CancellationToken) should be undone.

public System.Threading.Tasks.Task AtomicGroupUndoProgressAsync (long fromCommitSequenceNumber, System.Threading.CancellationToken cancellationToken);
abstract member AtomicGroupUndoProgressAsync : int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AtomicGroupUndoProgressAsync (fromCommitSequenceNumber As Long, cancellationToken As CancellationToken) As Task

Parameters

fromCommitSequenceNumber
Int64

The LSN of a commit operation. All progress past this point should be undone.

cancellationToken
CancellationToken

The CancellationToken object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled.

Returns

Returns Task.

Applies to