コード例 #1
0
 internal Enlistment(InternalTransaction transaction, IEnlistmentNotification twoPhaseNotifications, ISinglePhaseNotification singlePhaseNotifications, Transaction atomicTransaction, EnlistmentOptions enlistmentOptions)
 {
     if ((enlistmentOptions & EnlistmentOptions.EnlistDuringPrepareRequired) != EnlistmentOptions.None)
     {
         this.internalEnlistment = new System.Transactions.InternalEnlistment(this, transaction, twoPhaseNotifications, singlePhaseNotifications, atomicTransaction);
     }
     else
     {
         this.internalEnlistment = new Phase1VolatileEnlistment(this, transaction, twoPhaseNotifications, singlePhaseNotifications, atomicTransaction);
     }
 }
コード例 #2
0
 internal Enlistment(InternalTransaction transaction, IEnlistmentNotification twoPhaseNotifications, ISinglePhaseNotification singlePhaseNotifications, Transaction atomicTransaction, EnlistmentOptions enlistmentOptions)
 {
     if ((enlistmentOptions & EnlistmentOptions.EnlistDuringPrepareRequired) != EnlistmentOptions.None)
     {
         this.internalEnlistment = new System.Transactions.InternalEnlistment(this, transaction, twoPhaseNotifications, singlePhaseNotifications, atomicTransaction);
     }
     else
     {
         this.internalEnlistment = new Phase1VolatileEnlistment(this, transaction, twoPhaseNotifications, singlePhaseNotifications, atomicTransaction);
     }
 }
コード例 #3
0
 internal Enlistment(System.Transactions.InternalEnlistment internalEnlistment)
 {
     this.internalEnlistment = internalEnlistment;
 }
コード例 #4
0
 internal Enlistment(Guid resourceManagerIdentifier, InternalTransaction transaction, IEnlistmentNotification twoPhaseNotifications, ISinglePhaseNotification singlePhaseNotifications, Transaction atomicTransaction)
 {
     this.internalEnlistment = new DurableInternalEnlistment(this, resourceManagerIdentifier, transaction, twoPhaseNotifications, singlePhaseNotifications, atomicTransaction);
 }
コード例 #5
0
 internal Enlistment(InternalTransaction transaction, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction)
 {
     this.internalEnlistment = new PromotableInternalEnlistment(this, transaction, promotableSinglePhaseNotification, atomicTransaction);
 }
コード例 #6
0
 internal Enlistment(IEnlistmentNotification twoPhaseNotifications, InternalTransaction transaction, Transaction atomicTransaction)
 {
     this.internalEnlistment = new System.Transactions.InternalEnlistment(this, twoPhaseNotifications, transaction, atomicTransaction);
 }
コード例 #7
0
 internal Enlistment(IEnlistmentNotification twoPhaseNotifications, object syncRoot)
 {
     this.internalEnlistment = new RecoveringInternalEnlistment(this, twoPhaseNotifications, syncRoot);
 }
コード例 #8
0
 internal Enlistment(System.Transactions.InternalEnlistment internalEnlistment)
 {
     this.internalEnlistment = internalEnlistment;
 }
コード例 #9
0
 internal Enlistment(Guid resourceManagerIdentifier, InternalTransaction transaction, IEnlistmentNotification twoPhaseNotifications, ISinglePhaseNotification singlePhaseNotifications, Transaction atomicTransaction)
 {
     this.internalEnlistment = new DurableInternalEnlistment(this, resourceManagerIdentifier, transaction, twoPhaseNotifications, singlePhaseNotifications, atomicTransaction);
 }
コード例 #10
0
 internal Enlistment(InternalTransaction transaction, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction)
 {
     this.internalEnlistment = new PromotableInternalEnlistment(this, transaction, promotableSinglePhaseNotification, atomicTransaction);
 }
コード例 #11
0
 internal Enlistment(IEnlistmentNotification twoPhaseNotifications, InternalTransaction transaction, Transaction atomicTransaction)
 {
     this.internalEnlistment = new System.Transactions.InternalEnlistment(this, twoPhaseNotifications, transaction, atomicTransaction);
 }
コード例 #12
0
 internal Enlistment(IEnlistmentNotification twoPhaseNotifications, object syncRoot)
 {
     this.internalEnlistment = new RecoveringInternalEnlistment(this, twoPhaseNotifications, syncRoot);
 }