Changeset 3203 for trunk/sources/HeuristicLab.Hive.Server/3.2
- Timestamp:
- 03/23/10 10:50:26 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server/3.2/ServiceCallInterception.cs
r3013 r3203 17 17 Object obj; 18 18 19 //using (TransactionScope scope = new TransactionScope()) {19 using (TransactionScope scope = new TransactionScope()) { 20 20 try { 21 21 obj = invocation.Proceed(); 22 //scope.Complete();22 scope.Complete(); 23 23 } finally { 24 24 ContextFactory.Context.Dispose(); … … 27 27 Console.WriteLine("Disposing old Context"); 28 28 } 29 //}29 } 30 30 Console.WriteLine(DateTime.Now + " - " + Thread.CurrentThread.ManagedThreadId + " - Leaving Method " + invocation.Method.Name); 31 31 return obj;
Note: See TracChangeset
for help on using the changeset viewer.