ITransactionPromoter::Promote Method ()


Notifies an enlisted object that an escalation of the delegated transaction has been requested.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

array<unsigned char>^ Promote()

Return Value

Type: array<System::Byte>^

A transmitter/receiver propagation token that marshals a distributed transaction. For more information, see GetTransactionFromTransmitterPropagationToken.

A TransactionPromotionException should be thrown by an implementation of IPromotableSinglePhaseNotification interface to indicate that a call to Promote has failed.

.NET Framework
Available since 2.0
Return to top