Table of Contents

Property IsInTransaction

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

IsInTransaction

Gets a value indicating whether this instance is in a transaction.

public bool IsInTransaction { get; }

Property Value

bool

true if this instance is in a transaction; otherwise, false.