* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / System.Transactions / System.Transactions / TransactionManager.cs
1 //
2 // TransactionManager.cs
3 //
4 // Author:
5 //      Atsushi Enomoto  <atsushi@ximian.com>
6 //      Ankit Jain       <JAnkit@novell.com>
7 //
8 // (C)2005 Novell Inc,
9 // (C)2006 Novell Inc,
10 //
11 #if NET_2_0
12
13 namespace System.Transactions
14 {
15         public static class TransactionManager
16         {
17                 /* 60 secs */
18                 static TimeSpan defaultTimeout = new TimeSpan (0, 1, 0);
19                 /* 10 mins */
20                 static TimeSpan maxTimeout = new TimeSpan (0, 10, 0);
21
22                 public static TimeSpan DefaultTimeout {
23                         get { return defaultTimeout; }
24                 }
25
26                 [MonoTODO]
27                 public static HostCurrentTransactionCallback HostCurrentCallback {
28                         get { throw new NotImplementedException (); }
29                         set { throw new NotImplementedException (); }
30                 }
31
32                 public static TimeSpan MaximumTimeout {
33                         get { return maxTimeout; }
34                 }
35
36                 [MonoTODO]
37                 public static void RecoveryComplete (Guid manager)
38                 {
39                         throw new NotImplementedException ();
40                 }
41
42                 [MonoTODO]
43                 public static Enlistment Reenlist (Guid manager,
44                         byte[] recoveryInfo,
45                         IEnlistmentNotification notification)
46                 {
47                         throw new NotImplementedException ();
48                 }
49
50                 public static event TransactionStartedEventHandler
51                         DistributedTransactionStarted;
52         }
53 }
54
55 #endif