TransactedObjectCheckTransaction Method |
Verifies that a specified transaction is in the same context as this
transacted object and throws an
ArgumentException if it is not.
Namespace:
AGI.Foundation.Infrastructure.Threading
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax protected void CheckTransaction(
Transaction transaction
)
Protected Sub CheckTransaction (
transaction As Transaction
)
protected:
void CheckTransaction(
Transaction^ transaction
)
member CheckTransaction :
transaction : Transaction -> unit
Parameters
- transaction
- Type: AGI.FoundationTransaction
The transaction to verify.
Exceptions Exception | Condition |
---|
ArgumentException |
The specified transaction is in a different context than this transacted object.
|
See Also