|
by via LA.NET [EN] on 12/2/2008 10:33:25 AM
While I was reading the Essential Windows Communication Foundation book (from Addision Wesley), I found the following code (on a transaction required for a WCF service context): [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)] public void Transfer( String from, String to, double amount){ try { Withdraw(from, amount); Deposit( to, amount); } catch(Exception ex){
... [ read more ]
|
|