Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
You can use the Microsoft Transaction Server Explorer to monitor commit and abort statistics for transactions.
You can experiment with the MoveMoney and Account components to see how transactions are committed and aborted as you provide user input with the Bank client.
To monitor transactions
Rearrange the windows so that you see the two Microsoft Transaction Server Explorer windows and the Bank client window.
To monitor a commit, click Submit in the Bank client. The Transaction Statistics window first indicates that one transaction is active, and indicates that one transaction was committed.
To monitor an abort, click Debit in the Bank client, and enter an amount for the transaction that is greater than the balance on your account. Click Submit. The Transaction Statistics window first indicates that one transaction is active, and then indicates that one transaction was aborted.
Try experimenting with Transfer. Verify that both objects are running within the same transaction by checking the balance of two accounts and performing a transfer that would overdraw from an account. Notice that both the credit and the debit are aborted.
See Also