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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
bool IsInTransaction { get; }

Property Value

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