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