Click or drag to resize

TransactedObject Class

An object that participates in the software transactional memory (STM) system via TransactionContext and Transaction.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.1.418.0 (24.1.418.0)
public abstract class TransactedObject

The TransactedObject type exposes the following members.

Protected methodTransactedObject
Initializes a new instance with a specified owner.
Public propertyContext
Gets the transaction context in which this object can be modified.
Public propertyOwner
Gets the object that owns this transacted object, or if this object does not have an owner.
Protected methodAbort
Aborts the specified modification.
Protected methodCheckTransaction
Verifies that a specified transaction is in the same context as this transacted object and throws an ArgumentException if it is not.
Protected methodCleanup
Cleans up modifications that are no longer visible to any transaction.
Protected methodCommit
Commits the specified modification.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotify
Notifies interested parties of changes to this transacted object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateModification
Verifies a modification to ensure that it is still valid after other transactions have potentially committed modifications to this object.
See Also