FailuresAccessor.IsTransactionBeingCommitted
Method
Description:
Checks if the transaction for which failures are processed is being committed or rolled back.
Checks if the transaction for which failures are processed is being committed or rolled back.
Remarks:
A transaction is considered as "being committed" if a caller has requested the transaction to be committed and no previous failure processing operation requested the transaction to be rolled back.
A transaction is considered as "being committed" if a caller has requested the transaction to be committed and no previous failure processing operation requested the transaction to be rolled back.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This FailuresAccessor is inactive (is used outside of failures processing). |