DeltaPacket.getTransactionId()

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

deltaPacket.getTransactionId()

Parameters

None.

Returns

A string; the unique transaction ID for a single transaction grouping of delta packets.

Description

Method; returns the transaction ID for the delta packet. This unique identifier is used to group a send/receive transaction for a delta packet. The data set uses this to determine if the delta packet is part of the same transaction it originated with the DataSet.applyUpdates() call.

Example

The following example calls the getTransactionId() method:

// ...
var deltapkt:DeltaPacket = _parent.myDataSet.deltaPacket;
trace("*** Trans ID is: " + deltapkt.getTransactionId() + " ***");
// ...