2 instantiations of OletxEnlistment
System.Transactions.Local (2)
System\Transactions\Oletx\OletxResourceManager.cs (2)
273OletxEnlistment enlistment = new( 412return new OletxEnlistment(enlistmentNotification, xactStatus, prepareInfo, this);
35 references to OletxEnlistment
System.Transactions.Local (35)
System\Transactions\DtcProxyShim\EnlistmentNotifyShim.cs (1)
27internal EnlistmentNotifyShim(DtcProxyShimFactory shimFactory, OletxEnlistment enlistmentIdentifier)
System\Transactions\DtcProxyShim\ResourceManagerShim.cs (1)
22OletxEnlistment managedIdentifier,
System\Transactions\Oletx\OletxEnlistment.cs (7)
566etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(Phase0Request)}"); 662etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(Phase0Request)}"); 672etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(Phase0Request)}"); 683etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(EnlistmentDone)}"); 828etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(EnlistmentDone)}"); 839etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(EnlistmentTraceId)}"); 840etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(EnlistmentTraceId)}");
System\Transactions\Oletx\OletxResourceManager.cs (14)
226OletxEnlistment? enlistment; 244enlistment = enlistEnum.Value as OletxEnlistment; 256internal OletxEnlistment EnlistDurable( 273OletxEnlistment enlistment = new( 346internal OletxEnlistment Reenlist(byte[] prepareInfo, IEnlistmentNotificationInternal enlistmentNotification) 484internal void RemoveFromReenlistPending(OletxEnlistment enlistment) 517OletxEnlistment? localEnlistment; 563localEnlistment = resourceManager.ReenlistList[0] as OletxEnlistment; 578if (OletxEnlistment.OletxEnlistmentState.Done == localEnlistment.State) 585else if (OletxEnlistment.OletxEnlistmentState.Prepared != localEnlistment.State) 623if (OletxEnlistment.OletxEnlistmentState.Done == localEnlistment.State) 661if (OletxEnlistment.OletxEnlistmentState.Done == localEnlistment.State) 682localEnlistment.State = OletxEnlistment.OletxEnlistmentState.Committing; 693localEnlistment.State = OletxEnlistment.OletxEnlistmentState.Aborting;
System\Transactions\Oletx\OletxTransaction.cs (3)
259etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(EnlistVolatile)}(({nameof(ISinglePhaseNotificationInternal)}"); 277etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(EnlistVolatile)}(({nameof(ISinglePhaseNotificationInternal)}"); 343OletxEnlistment enlistment = rm.EnlistDurable(
System\Transactions\Oletx\OletxTransactionManager.cs (7)
146if (enlistment2 is OletxEnlistment oletxEnlistment) 248if (enlistment2 is OletxEnlistment enlistment) 262if (enlistment2 is OletxEnlistment enlistment) 276if (enlistment2 is OletxEnlistment enlistment) 290if (enlistment2 is OletxEnlistment enlistment) 483internal OletxEnlistment ReenlistTransaction( 504OletxEnlistment returnValue = oletxResourceManager.Reenlist(recoveryInformation, enlistmentNotification);
System\Transactions\Oletx\OletxVolatileEnlistment.cs (2)
1318etwLog.MethodEnter(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(IPromotedEnlistment.EnlistmentDone)}"); 1354etwLog.MethodExit(TraceSourceType.TraceSourceOleTx, this, $"{nameof(OletxEnlistment)}.{nameof(IPromotedEnlistment.EnlistmentDone)}");