2 implementations of IPromotedEnlistment
System.Transactions.Local (2)
System\Transactions\Oletx\OletxEnlistment.cs (1)
11internal sealed class OletxEnlistment : OletxBaseEnlistment, IPromotedEnlistment
System\Transactions\Oletx\OletxVolatileEnlistment.cs (1)
985internal sealed class OletxVolatileEnlistment : OletxBaseEnlistment, IPromotedEnlistment
56 references to IPromotedEnlistment
System.Transactions.Local (56)
System\Transactions\DurableEnlistmentState.cs (1)
67internal override void ChangeStatePromoted(InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment)
System\Transactions\Enlistment.cs (7)
88private IPromotedEnlistment? _promotedEnlistment; 182internal IPromotedEnlistment? PromotedEnlistment 254void ISinglePhaseNotificationInternal.SinglePhaseCommit(IPromotedEnlistment singlePhaseEnlistment) 273void IEnlistmentNotificationInternal.Prepare(IPromotedEnlistment preparingEnlistment) 280void IEnlistmentNotificationInternal.Commit(IPromotedEnlistment enlistment) 287void IEnlistmentNotificationInternal.Rollback(IPromotedEnlistment enlistment) 294void IEnlistmentNotificationInternal.InDoubt(IPromotedEnlistment enlistment)
System\Transactions\EnlistmentState.cs (1)
81internal virtual void ChangeStatePromoted(InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment)
System\Transactions\IEnlistmentNotification.cs (4)
8void Prepare(IPromotedEnlistment preparingEnlistment); 10void Commit(IPromotedEnlistment enlistment); 12void Rollback(IPromotedEnlistment enlistment); 14void InDoubt(IPromotedEnlistment enlistment);
System\Transactions\ISinglePhaseNotification.cs (1)
8void SinglePhaseCommit(IPromotedEnlistment singlePhaseEnlistment);
System\Transactions\Oletx\OletxEnlistment.cs (1)
1191InternalEnlistment? IPromotedEnlistment.InternalEnlistment
System\Transactions\Oletx\OletxTransaction.cs (8)
252internal IPromotedEnlistment EnlistVolatile( 270IPromotedEnlistment enlistment = RealOletxTransaction.EnlistVolatile( 283internal IPromotedEnlistment EnlistVolatile( 301IPromotedEnlistment enlistment = RealOletxTransaction.EnlistVolatile( 314internal IPromotedEnlistment EnlistDurable( 840internal IPromotedEnlistment CommonEnlistVolatile( 955internal IPromotedEnlistment EnlistVolatile( 964internal IPromotedEnlistment EnlistVolatile(
System\Transactions\Oletx\OletxVolatileEnlistment.cs (18)
1313void IPromotedEnlistment.EnlistmentDone() 1318etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(IPromotedEnlistment.EnlistmentDone)}"); 1354etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(IPromotedEnlistment.EnlistmentDone)}"); 1358void IPromotedEnlistment.Prepared() 1363etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"OletxPreparingEnlistment.{nameof(IPromotedEnlistment.Prepared)}"); 1428etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"OletxPreparingEnlistment.{nameof(IPromotedEnlistment.Prepared)}"); 1432void IPromotedEnlistment.ForceRollback() 1433=> ((IPromotedEnlistment)this).ForceRollback(null); 1435void IPromotedEnlistment.ForceRollback(Exception? e) 1440etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"OletxPreparingEnlistment.{nameof(IPromotedEnlistment.ForceRollback)}"); 1477etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"OletxPreparingEnlistment.{nameof(IPromotedEnlistment.ForceRollback)}"); 1481void IPromotedEnlistment.Committed() => throw new InvalidOperationException(); 1482void IPromotedEnlistment.Aborted() => throw new InvalidOperationException(); 1483void IPromotedEnlistment.Aborted(Exception? e) => throw new InvalidOperationException(); 1484void IPromotedEnlistment.InDoubt() => throw new InvalidOperationException(); 1485void IPromotedEnlistment.InDoubt(Exception? e) => throw new InvalidOperationException(); 1487byte[] IPromotedEnlistment.GetRecoveryInformation() 1494InternalEnlistment? IPromotedEnlistment.InternalEnlistment
System\Transactions\TransactionState.cs (1)
2272IPromotedEnlistment promotedEnlistment = tx.PromotedTransaction.EnlistDurable(
System\Transactions\VolatileEnlistmentMultiplexing.cs (14)
21internal IPromotedEnlistment? _promotedEnlistment; 22internal IPromotedEnlistment? _preparingEnlistment; 239public abstract void Prepare(IPromotedEnlistment en); 241public abstract void Commit(IPromotedEnlistment en); 243public abstract void Rollback(IPromotedEnlistment en); 245public abstract void InDoubt(IPromotedEnlistment en); 312public override void Prepare(IPromotedEnlistment en) 319public override void Commit(IPromotedEnlistment en) 326public override void Rollback(IPromotedEnlistment en) 333public override void InDoubt(IPromotedEnlistment en) 405public override void Prepare(IPromotedEnlistment en) 412public override void Commit(IPromotedEnlistment en) 419public override void Rollback(IPromotedEnlistment en) 426public override void InDoubt(IPromotedEnlistment en)