34 options.Timeout = timeSpan;
36 distributedCommittableTransaction.SavedLtmPromotedTransaction = tx.
_outcomeSource;
55 if (distributedCommittableTransaction ==
null)
60 tx.PromotedTransaction = distributedCommittableTransaction;
62 lock (promotedTransactionTable)
66 promotedTransactionTable[distributedCommittableTransaction.
Identifier] =
value;
74 if (volatiles._volatileEnlistmentCount + volatiles._dependentClones > 0)
103 tx.PromotedTransaction.RealTransaction.InternalTransaction = tx;
static string CannotPromoteSnapshot
TransactionTraceIdentifier TransactionTraceId
IPromotedEnlistment EnlistDurable(Guid resourceManagerIdentifier, DurableInternalEnlistment internalEnlistment, bool v, EnlistmentOptions enlistmentOptions)
IPromotedEnlistment EnlistVolatile(InternalEnlistment internalEnlistment, EnlistmentOptions enlistmentOptions)
virtual void ChangeStatePromoted(InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment)
virtual Guid ResourceManagerIdentifier
ISinglePhaseNotification SinglePhaseNotification
InternalEnlistment _durableEnlistment
readonly Transaction _outcomeSource
TransactionTraceIdentifier TransactionTraceId
VolatileEnlistmentSet _phase1Volatiles
VolatileEnlistmentSet _phase0Volatiles
void SetPromoterTypeToMSDTC()
DistributedTransaction PromotedTransaction
Exception _innerException
static Exception CreateInvalidOperationException(TraceSourceType traceSource, string message, Exception innerException)
static DistributedTransactionManager DistributedTransactionManager
static Hashtable PromotedTransactionTable
static void FireDistributedTransactionStarted(Transaction transaction)
static TransactionTable TransactionTable
virtual void Rollback(InternalTransaction tx, Exception e)
virtual void ChangeStateAbortedDuringPromotion(InternalTransaction tx)
void CommonEnterState(InternalTransaction tx)
void ExceptionConsumed(TraceSourceType traceSource, Exception exception)
void TransactionPromoted(TransactionTraceIdentifier transactionID, TransactionTraceIdentifier distributedTxID)
static readonly TransactionsEtwProvider Log
static readonly TimeSpan Zero