Redigera

Dela via


TransactionInterop.GetTransmitterPropagationToken(Transaction) Method

Definition

Generates a propagation token for the specified Transaction.

public:
 static cli::array <System::Byte> ^ GetTransmitterPropagationToken(System::Transactions::Transaction ^ transaction);
public static byte[] GetTransmitterPropagationToken (System.Transactions.Transaction transaction);
static member GetTransmitterPropagationToken : System.Transactions.Transaction -> byte[]
Public Shared Function GetTransmitterPropagationToken (transaction As Transaction) As Byte()

Parameters

transaction
Transaction

A transaction to be marshaled into a propagation token.

Returns

Byte[]

This method, together with the GetTransactionFromTransmitterPropagationToken(Byte[]) method, provide functionality for Transmitter/Receiver propagation, in which the transaction is "pulled" from the remote machine when the latter is called to unmarshal the transaction.

For more information on different propagation models, see TransactionInterop class.

Applies to