MySqlTransaction.RollbackAsync method (1 of 2)

public override Task RollbackAsync(CancellationToken cancellationToken = default(CancellationToken))

See Also

MySqlTransaction.RollbackAsync method (2 of 2)

Asynchronously olls back the current transaction to the savepoint with the specified savepointName without aborting the transaction.

public Task RollbackAsync(string savepointName, 
    CancellationToken cancellationToken = default(CancellationToken))
savepointNameThe savepoint name.
cancellationTokenA token to cancel the asynchronous operation.

Return Value

A Task representing the asynchronous operation.


The name must have been created with SaveAsync, but not released by calling ReleaseAsync.

See Also