Click or drag to resize

IClientSessionIsInTransaction Property

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

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
bool IsInTransaction { get; }

Property Value

Type: Boolean
true if this instance is in a transaction; otherwise, false.
See Also