Click or drag to resize

TransactedPropertyT Methods

The TransactedPropertyT generic type exposes the following members.

Methods
  NameDescription
Protected methodAbort
Aborts the specified modification.
(Overrides TransactedObjectAbort(Transaction, Object).)
Protected methodCheckTransaction
Verifies that a specified transaction is in the same context as this transacted object and throws an ArgumentException if it is not.
(Inherited from TransactedObject.)
Protected methodCleanup
Cleans up modifications that are no longer visible to any transaction.
(Overrides TransactedObjectCleanup(Object).)
Protected methodCommit
Commits the specified modification.
(Overrides TransactedObjectCommit(Transaction, Object).)
Public methodEnsureValue
At Commit time, ensures that the value of this property, as seen by a given Transaction, has not changed. If another transaction commits a change to this property after the specified transaction starts, the specified transaction will throw TransactionConflictException when it is committed.
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.)
Public methodGetValue
Gets the value of this transacted property in the context of the given transaction, guaranteeing snapshot isolation. See the Remarks section for more information.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotify
Notifies interested parties of changes to this transacted object.
(Overrides TransactedObjectNotify(Object, Transaction).)
Public methodSetValue
Sets the value of this property in the context of the specified transaction. The changed value will not be visible to other transactions until Commit is called. Calling this method may cause a TransactionConflictException to be raised at Commit time. See the Remarks section for more information.
Public methodToString
Get a String that represents the value of this transacted property.
(Overrides ObjectToString.)
Protected methodValidateModification
Verifies a modification to ensure that it is still valid after other transactions have potentially committed modifications to this object.
(Overrides TransactedObjectValidateModification(Transaction, Object).)
Top
See Also