Transaction.PromoterType Propriedade
Definição
Identifica exclusivamente o formato do byte [] retornado pelo método Promote quando a transação é promovida.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
Valor da propriedade
Um GUID que identifica exclusivamente o formato do byte [] retornado pelo método Promote quando a transação é promovida.A guid that uniquely identifies the format of the byte[] returned by the Promote method when the transaction is promoted.
Comentários
Se a transação ainda não tiver sido promovida e ainda não tiver uma inscrição de fase única de promoção, o valor dessa propriedade será Guid.Empty .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. Se a transação tiver sido ou será promovida para o MSDTC, o valor dessa propriedade será TransactionInterop.PromoterTypeDtc .If the transaction has been or will be promoted to MSDTC, then the value of this property will be TransactionInterop.PromoterTypeDtc. Se a transação tiver sido ou for promovida por um promoção não-MSDTC, o valor dessa propriedade será o valor especificado para uma chamada anterior para Transaction.EnlistPromotableSinglePhase .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.