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.

適用於