Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

50 lines
1009 B
C#

//
// DependentTransaction.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// (C)2005 Novell Inc,
//
using System.Runtime.Serialization;
namespace System.Transactions
{
[MonoTODO ("Not supported yet")]
[Serializable]
public sealed class DependentTransaction : Transaction, ISerializable
{
// Transaction parent;
// DependentCloneOption option;
bool completed;
internal DependentTransaction (Transaction parent,
DependentCloneOption option)
{
// this.parent = parent;
// this.option = option;
}
internal bool Completed {
get { return completed; }
}
[MonoTODO]
public void Complete ()
{
throw new NotImplementedException ();
}
void ISerializable.GetObjectData (SerializationInfo info,
StreamingContext context)
{
// parent = (Transaction) info.GetValue ("parent", typeof (Transaction));
// option = (DependentCloneOption) info.GetValue (
// "option", typeof (DependentCloneOption));
completed = info.GetBoolean ("completed");
}
}
}