IAtomicGroupStateReplicator.ReplicateAtomicGroupRollbackAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously rolls-back state replication for the atomic group.
public System.Threading.Tasks.Task<long> ReplicateAtomicGroupRollbackAsync (long atomicGroupId, System.Threading.CancellationToken cancellationToken, out long rollbackSequenceNumber);
abstract member ReplicateAtomicGroupRollbackAsync : int64 * System.Threading.CancellationToken * int64 -> System.Threading.Tasks.Task<int64>
Public Function ReplicateAtomicGroupRollbackAsync (atomicGroupId As Long, cancellationToken As CancellationToken, ByRef rollbackSequenceNumber As Long) As Task(Of Long)
Parameters
- atomicGroupId
- Int64
The ID of the atomic group to roll back.
- 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.
- rollbackSequenceNumber
- Int64
The LSN of the rollback operation, as an out parameter.
Returns
Returns Task<TResult> of type long, the LSN of the rollback operation.
Applies to
Azure SDK for .NET