Click or drag to resize

Transaction Constructor

Begins a new transaction. Be sure to Dispose(), Commit(), or Abort() this transaction as soon as you are done using it. Keeping transactions open for a long time will substantially increase the memory usage and slow the performance of the software transactional memory system. You should generally use DoTransactionally(Action<Transaction> ) instead of constructing a transaction directly.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public Transaction(
	TransactionContext context
)

Parameters

context
Type: AGI.Foundation.TransactionContext
The context in which this transaction operates. The new transaction can only be used to access transacted values in this context.
See Also