G
gareththackeray
Hi,
We've been using the TransactionScope class which is great and really
makes using Transactions a doddle. However, if we kill the process in
the middle of a using(TransactionScope) block, it leaves it hanging,
seemingly indefinitely, until we restart the DTC on either client or
server.
So, I have two questions:
1. are there any techniques to force the transaction to rollback on
killing the process;
2. which of the many available timeouts controls the transaction
timeout on the DTC?
Thanks in advance,
Gareth
We've been using the TransactionScope class which is great and really
makes using Transactions a doddle. However, if we kill the process in
the middle of a using(TransactionScope) block, it leaves it hanging,
seemingly indefinitely, until we restart the DTC on either client or
server.
So, I have two questions:
1. are there any techniques to force the transaction to rollback on
killing the process;
2. which of the many available timeouts controls the transaction
timeout on the DTC?
Thanks in advance,
Gareth