Click or drag to resize

TransactedObjectValidateModification Method

Verifies a modification to ensure that it is still valid after other transactions have potentially committed modifications to this object.

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 22.2.414.0 (22.2.414.0)
Syntax
protected abstract bool ValidateModification(
	Transaction transaction,
	Object modificationDetails
)

Parameters

transaction
Type: AGI.FoundationTransaction
The validating transaction.
modificationDetails
Type: SystemObject
The modification to validate. This is the object that was passed to AddModification(TransactedObject, Object).

Return Value

Type: Boolean
if the modification is still valid; otherwise .
Remarks
If this method returns , the transaction will raise a TransactionConflictException.
See Also