แก้ไข

แชร์ผ่าน


TransactionInterop.GetTransactionFromTransmitterPropagationToken Method

Definition

Generates a Transaction instance from the specified transmitter propagation token.

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

Parameters

propagationToken
Byte[]

A propagation token representing a transaction.

Returns

A Transaction from the specified transmitter propagation token.

Exceptions

The deserialization of a transaction fails because the transaction manager cannot be contacted. This may be caused by network firewall or security settings.

Remarks

This method, together with the GetTransmitterPropagationToken method, provide functionality for "pull" propagation, in which the transaction is "pulled" from the remote machine when this method is called to unmarshal the transaction.

For more information on different propagation models, see the Remarks section of the TransactionInterop class.

Applies to