Files
linux-packaging-mono/mcs/class/System.Transactions/System.Transactions/DependentTransaction.cs
Xamarin Public Jenkins (auto-signing) 95fdb59ea6 Imported Upstream version 6.6.0.89
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
2019-09-24 08:53:40 +00:00

51 lines
1.0 KiB
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)
: base(parent.IsolationLevel)
{
// 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");
}
}
}