- // it could contain both Transaction and non-tx (Suppress).
- static Stack tx_states = new Stack ();
+ static TransactionManager ()
+ {\r
+ defaultSettings = ConfigurationManager.GetSection ("system.transactions/defaultSettings") as DefaultSettingsSection;\r
+ machineSettings = ConfigurationManager.GetSection ("system.transactions/machineSettings") as MachineSettingsSection;
+ }\r
+\r
+ static DefaultSettingsSection defaultSettings;\r
+ static MachineSettingsSection machineSettings;\r
+ static TimeSpan defaultTimeout = new TimeSpan (0, 1, 0); /* 60 secs */\r
+ static TimeSpan maxTimeout = new TimeSpan (0, 10, 0); /* 10 mins */