TransactionAbort
The TransactionAbort event notifies the client when a transaction has been aborted.
Remarks:
An abort can happen in the case where a command has started a transaction and performed operations within that transaction but decides to abort the process rather than commit it.
EventNames:
TransactionAbort_Pre
TransactionAbort_Post
Examples:
TransactionAbort_Pre:
Register-InventorEvent -EventName TransactionAbort_Pre -Action 'PreTransactionAbort'
function PreTransactionAbort() {
#Write event code here
}
TransactionAbort_Post:
Register-InventorEvent -EventName TransactionAbort_Post -Action 'PostTransactionAbort'
function PostTransactionAbort() {
#Write event code here
}