ITransactionPromoter.Promote 方法

定义

通知登记的对象已经请求升级委托的事务。Notifies an enlisted object that an escalation of the delegated transaction has been requested.

public:
 cli::array <System::Byte> ^ Promote();
public byte[]? Promote ();
public byte[] Promote ();
abstract member Promote : unit -> byte[]
Public Function Promote () As Byte()

返回

Byte[]

封送分布式事务的传输器/接收器传播标记。A transmitter/receiver propagation token that marshals a distributed transaction. 有关详细信息,请参阅 GetTransactionFromTransmitterPropagationToken(Byte[])For more information, see GetTransactionFromTransmitterPropagationToken(Byte[]).

注解

TransactionPromotionException应由接口的实现引发 IPromotableSinglePhaseNotification ,以指示对的调用 Promote 失败。A TransactionPromotionException should be thrown by an implementation of IPromotableSinglePhaseNotification interface to indicate that a call to Promote has failed.

适用于