TransactedObjectCommit Method  | 
 
            Commits the specified modification.
            
 
    Namespace: 
   AGI.Foundation.Infrastructure.Threading
    Assembly:
   AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxprotected abstract Object Commit(
	Transaction transaction,
	Object modificationDetails
)
Protected MustOverride Function Commit ( 
	transaction As Transaction,
	modificationDetails As Object
) As Object
protected:
virtual Object^ Commit(
	Transaction^ transaction, 
	Object^ modificationDetails
) abstract
abstract Commit : 
        transaction : Transaction * 
        modificationDetails : Object -> Object 
Parameters
- transaction
 - Type: AGI.FoundationTransaction
The committing transaction. - modificationDetails
 - Type: SystemObject
            The modification to commit.  This is the object that was passed to
            AddModification(TransactedObject, Object).
             
Return Value
Type: 
Object
            The data to pass to the 
Notify(Object, Transaction) method after all transacted objects have been committed.
            If this method returns 
, 
Notify(Object, Transaction) will not be called.
            
Remarks
            This method is called only if 
ValidateModification(Transaction, Object) returns
            
, and it is called without the possibility of an intervening transaction committing.
            Therefore, it is not necessary to revalidate the modification.
            
See Also