Click or drag to resize

ICoreSessionIsInTransaction Property

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

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.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