Export (0) Print
Expand All

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)

'Declaration
Function Promote As Byte()
'Usage
Dim instance As ITransactionPromoter
Dim returnValue As Byte()

returnValue = instance.Promote
byte[] Promote ()
function Promote () : byte[]
Not applicable.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft