Table of Contents

Method AbortTransaction

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

AbortTransaction(CancellationToken)

Aborts the transaction.

public virtual void AbortTransaction(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.