편집

다음을 통해 공유


Transaction.PromoterType Property

Definition

Uniquely identifies the format of the byte[] returned by the Promote method when the transaction is promoted.

public:
 property Guid PromoterType { Guid get(); };
public Guid PromoterType { get; }
member this.PromoterType : Guid
Public ReadOnly Property PromoterType As Guid

Property Value

A guid that uniquely identifies the format of the byte[] returned by the Promote method when the transaction is promoted.

Remarks

If the transaction has not yet been promoted and does not yet have a promotable single phase enlistment, the value of this property will be Guid.Empty. If the transaction has been or will be promoted to MSDTC, then the value of this property will be TransactionInterop.PromoterTypeDtc. If the transaction has been or will be promoted by a non-MSDTC promoter, the value of this property will be the value specified to an earlier call to Transaction.EnlistPromotableSinglePhase.

Applies to