53 log.InvalidOperation(
"Transaction",
"Transaction.set_Current");
291 return x?.
Equals(y) ?? ((object)y ==
null);
296 if ((
object)x !=
null)
300 return (
object)y !=
null;
406 log.TransactionRollback(
this,
"Transaction");
428 log.TransactionRollback(
this,
"Transaction");
650 log.MethodEnter(
TraceSourceType.TraceSourceDistributed,
this,
"PromoteAndEnlistDurable");
681 log.MethodExit(
TraceSourceType.TraceSourceDistributed,
this,
"PromoteAndEnlistDurable");
692 log.MethodEnter(
TraceSourceType.TraceSourceLtm,
this,
"SetDistributedTransactionIdentifier");
715 log.MethodExit(
TraceSourceType.TraceSourceLtm,
this,
"SetDistributedTransactionIdentifier");
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
static ? Delegate Remove(Delegate? source, Delegate? value)
static string BadResourceManagerId
static string TransactionScopeComplete
static string PromoterTypeInvalid
static string CannotSetCurrent
static int Exchange(ref int location1, int value)
static int Decrement(ref int location)
static int Increment(ref int location)
static void MemoryBarrier()
static void ClearCurrentData(ContextKey contextKey, bool removeContextData)
static ContextData LookupContextData(TxLookup defaultLookup)
static ContextData TLSCurrentData
static bool UseServiceDomainForCurrent()
static Transaction GetContextTransaction(ContextData contextData)
TransactionInformation _transactionInformation
void ThrowIfPromoterTypeIsNotMSDTC()
TransactionCompletedEventHandler _transactionCompletedDelegate
TransactionTraceIdentifier TransactionTraceId
void SetPromoterTypeToMSDTC()
DistributedTransaction PromotedTransaction
static Exception CreateTransactionCompletedException(Guid distributedTxId)
static readonly Guid PromoterTypeDtc
static HostCurrentTransactionCallback s_currentDelegate
static void ValidateIsolationLevel(IsolationLevel transactionIsolationLevel)
static IsolationLevel DefaultIsolationLevel
static bool s_currentDelegateSet
virtual byte[] PromotedToken(InternalTransaction tx)
virtual Enlistment EnlistDurable(InternalTransaction tx, Guid resourceManagerIdentifier, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
virtual void Rollback(InternalTransaction tx, Exception e)
virtual Enlistment PromoteAndEnlistDurable(InternalTransaction tx, Guid resourceManagerIdentifier, IPromotableSinglePhaseNotification promotableNotification, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
virtual Enlistment EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
virtual void AddOutcomeRegistrant(InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate)
virtual bool EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction, Guid promoterType)
virtual void Promote(InternalTransaction tx)
virtual void SetDistributedTransactionId(InternalTransaction tx, IPromotableSinglePhaseNotification promotableNotification, Guid distributedTransactionIdentifier)
Enlistment EnlistDurable(Guid resourceManagerIdentifier, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions)
static void GetCurrentTransactionAndScope(TxLookup defaultLookup, out Transaction current, out TransactionScope currentScope, out Transaction contextTransaction)
TransactionCompletedEventHandler? TransactionCompleted
Transaction InternalClone()
TransactionTraceIdentifier TransactionTraceId
bool EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification)
InternalTransaction _internalTransaction
static Transaction FastGetTransaction(TransactionScope currentScope, ContextData contextData, out Transaction contextTransaction)
Transaction(IsolationLevel isoLevel, InternalTransaction internalTransaction)
Enlistment EnlistVolatile(IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions)
void Rollback(Exception? e)
DistributedTransaction Promote()
Enlistment PromoteAndEnlistDurable(Guid resourceManagerIdentifier, IPromotableSinglePhaseNotification promotableNotification, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions)
override int GetHashCode()
Transaction(IsolationLevel isoLevel, ISimpleTransactionSuperior superior)
Enlistment EnlistDurable(Guid resourceManagerIdentifier, ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions)
bool EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Guid promoterType)
TransactionTraceIdentifier _traceIdentifier
TransactionInformation TransactionInformation
void SetDistributedTransactionIdentifier(IPromotableSinglePhaseNotification promotableNotification, Guid distributedTransactionIdentifier)
static bool operator==(Transaction? x, Transaction? y)
static bool operator!=(Transaction? x, Transaction? y)
Transaction(DistributedTransaction distributedTransaction)
static EnterpriseServicesInteropOption InteropMode(TransactionScope currentScope)
static ? Transaction Current
Enlistment EnlistVolatile(ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions)
DependentTransaction DependentClone(DependentCloneOption cloneOption)
virtual void InternalDispose()
override bool Equals([NotNullWhen(true)] object? obj)
byte[] GetPromotedToken()
static readonly TransactionsEtwProvider Log
void GetObjectData(SerializationInfo info, StreamingContext context)
delegate void TransactionCompletedEventHandler(object? sender, TransactionEventArgs e)
@ InvalidOperationException
EnterpriseServicesInteropOption
static readonly Guid Empty
string TransactionIdentifier
static TransactionTraceIdentifier Empty