Commit Graph
11 Commits
Author SHA1 Message Date
Matthew Leibowitz 5b4172c8cc [system.transactions] Throw exception when an invalid TimeSpan is provided:
- MS.NET throws
 - prevent construction when an invalid (negative) timeout is provided
2014-08-23 00:38:15 +02:00
Marek Safar a4915d561e Update mobile tests 2013-03-07 16:34:24 +01:00
Pablo Ruiz Garcia 03b7743af9 Sys.Tx: Avoid uncatched exceptions during Prepare phase, which might crash the whole application. Also try to align internal exception handling flow/logic to the one found in MS.NET. 2012-10-27 22:58:18 +02:00
Shay Rojansky cde70df1cb Transaction now has limited support for PromotableSinglePhaseEnlistment
System.Transactions.Transaction is only partially implemented, and was lacking support for enlistments of type PromotableSinglePhaseEnlistment.
Specifically, this prevented usage of Npgsql with the ambient transactions feature (TransactionScope).
2012-10-24 19:03:26 +02:00
Gonzalo Paniagua Javier a308e3e66b Fix line endings. 2010-10-04 00:54:47 -04:00
Pablo Ruiz Garcia bcd18127a5 Fixed conding style and added license/copyright header to new files 2010-10-04 05:20:37 +08:00
Pablo Ruiz Garcia a2245c7f1b [FIX] Fixes https://bugzilla.novell.com/show_bug.cgi?id=643368 (Transaction.TransactionCompleted not firing 2010-10-04 05:20:36 +08:00
Pablo Ruiz Garcia 06fb4d387e [API] Implemented System.Transactions (tx preparation) timeout handling 2010-10-04 05:20:35 +08:00
Zoltan Varga ecb8d921b7 2009-01-07 Zoltan Varga <[email protected]>
* AsyncTest.cs: Disable these tests, they fail randomly (bug #463999).

svn path=/trunk/mcs/; revision=122599
2009-01-07 01:18:07 +00:00
Ankit Jain dec88f328f * EnlistTest.cs: Add tests for bug #82423.
svn path=/trunk/mcs/; revision=84016
2007-08-13 22:18:20 +00:00
Ankit Jain df5d3f5572 Initial implementation of a Lightweight Transaction Manager.
In class/System.Transactions/Test:

	* AsyncTest.cs:
	* TransactionScopeTest.cs:
	* EnlistTest.cs: Initial set of test cases.


In class/System.Transactions:

	* System.Transactions_test.dll.sources: New.
	* Test: New directory.

In class/System.Transactions/System.Transactions:

	* Initial implementation.
	Implements support for a LTM (Lightweight Transaction Manager).
	Distributed transactions are not supported with this.
	Following are known as not implemented yet:
	 DependentTransaction, IsolationLevels and
	 EnlistmentOption.EnlistDuringPrepareRequired.

svn path=/trunk/mcs/; revision=57552
2006-03-03 18:23:45 +00:00