Table of Contents

Property IsInTransaction

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

IsInTransaction

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

bool IsInTransaction { get; }

Property Value

bool

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