3 writes to _promoterType
System.Transactions.Local (3)
System\Transactions\InternalTransaction.cs (1)
218
_promoterType
= TransactionInterop.PromoterTypeDtc;
System\Transactions\TransactionState.cs (2)
4361
tx.
_promoterType
= promoterType;
4388
tx.
_promoterType
= promoterType;
16 references to _promoterType
System.Transactions.Local (16)
System\Transactions\InternalTransaction.cs (5)
214
if ((
_promoterType
!= Guid.Empty) && (
_promoterType
!= TransactionInterop.PromoterTypeDtc))
225
if ((
_promoterType
!= Guid.Empty) && (
_promoterType
!= TransactionInterop.PromoterTypeDtc))
227
throw new TransactionPromotionException(SR.Format(SR.PromoterTypeUnrecognized,
_promoterType
.ToString()), _innerException);
System\Transactions\Transaction.cs (1)
423
return _internalTransaction.
_promoterType
;
System\Transactions\TransactionState.cs (10)
788
Debug.Assert(tx.
_promoterType
!= Guid.Empty, "InternalTransaction.PromoterType was not set in PSPEInitialize");
789
if (tx.
_promoterType
== TransactionInterop.PromoterTypeDtc)
1077
Debug.Assert(tx.
_promoterType
!= Guid.Empty, "InternalTransaction.PromoterType was not set in Phase0PSPEInitialize");
1078
if (tx.
_promoterType
== TransactionInterop.PromoterTypeDtc)
2145
Debug.Assert((tx.
_promoterType
== Guid.Empty) || (tx.
_promoterType
== TransactionInterop.PromoterTypeDtc), "Promoted to MSTC but PromoterType is not TransactionInterop.PromoterTypeDtc");
3463
throw new TransactionPromotionException(SR.Format(SR.PromoterTypeUnrecognized, tx.
_promoterType
.ToString()),
3475
throw new TransactionPromotionException(SR.Format(SR.PromoterTypeUnrecognized, tx.
_promoterType
.ToString()),
3576
throw new TransactionPromotionException(SR.Format(SR.PromoterTypeUnrecognized, tx.
_promoterType
.ToString()),
4427
if (tx.
_promoterType
!= TransactionInterop.PromoterTypeDtc)