Table of Contents

Method AbortTransactionAsync

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

AbortTransactionAsync(CancellationToken)

Aborts the transaction.

Task AbortTransactionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.