3.1.3 Initialization

When a client root transaction object is initialized, it MUST do the following:

  • Create the data structures described in section 3.1.1.

  • Set the RootTxnObject flag to TRUE.

  • Set the CurrentTSN value to 1.

  • Set the DtcCap_CanTransmit (section 2.2.6.1) bit in the DtcCapabilities value if the local DTCO transaction manager implementation supports the Propagation_Token ([MS-DTCO] section 2.2.5.4) method of sending transactions.

  • Set the DtcCap_CanExport (section 2.2.6.1) bit in the DtcCapabilities value if the local DTCO transaction manager implementation supports the STxInfo ([MS-DTCO] section 2.2.5.10) method of sending transactions.

  • Set the IsolationLevel value to one of the values specified in section 2.2.6.2.

  • Set the Propagation_Token instance to the Propagation_Token of the currently active transaction¬† instance.

  • Create the TransactionStream (section 2.2.2.1.2) object.

  • Set the TransactionStreamID GUID to a unique GUID.