Table of Contents

Method CommitTransactionAsync

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

CommitTransactionAsync(CancellationToken)

Commits the transaction.

public virtual Task CommitTransactionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.