Table of Contents

Method AbortTransactionAsync

Namespace
MongoDB.Driver.Core.Bindings
Assembly
MongoDB.Driver.Core.dll

AbortTransactionAsync(CancellationToken)

Aborts the transaction.

public Task AbortTransactionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.