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 virtual bool IsInTransaction { get; }

Property Value

bool

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