Table of Contents

Method AbortTransactionAsync

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

AbortTransactionAsync(CancellationToken)

Aborts the transaction.

Task AbortTransactionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.