Dela via


IAtomicGroupStateReplicator.ReplicateAtomicGroupCommitAsync Method

Definition

Asynchronously commits state replication for the atomic group.

public System.Threading.Tasks.Task<long> ReplicateAtomicGroupCommitAsync (long atomicGroupId, System.Threading.CancellationToken cancellationToken, out long commitSequenceNumber);
abstract member ReplicateAtomicGroupCommitAsync : int64 * System.Threading.CancellationToken * int64 -> System.Threading.Tasks.Task<int64>
Public Function ReplicateAtomicGroupCommitAsync (atomicGroupId As Long, cancellationToken As CancellationToken, ByRef commitSequenceNumber As Long) As Task(Of Long)

Parameters

atomicGroupId
Int64

The ID of the group to be committed.

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.

commitSequenceNumber
Int64

The LSN of the commit operation, as an out parameter.

Returns

Returns Task<TResult> of type long, the LSN of the commit operation.

Applies to