3.1.4.1 Activation Using Transaction Stream

The client root transaction object MUST do the following:

  • Set the MaxVersion field to 0x0001 if the IsolationLevel field is not included; otherwise, to 0x0002.

  • Set the Variant field to 0x0000.

  • Set the StreamID field to the TransactionStreamID GUID.

  • Set the StreamVariant field to 0x0001.

  • Set the DtcCapabilities field to its DtcCapabilities value.

  • Marshal the TransactionStream (section 2.2.2.1.2) object (as specified in [MS-DCOM] section 3.1.1.5.1) to an STDOBJREF structure ([MS-DCOM] section 2.2.18.2) and set the TransactionStream field to the STDOBJREF. The iid field of the OBJREF ([MS-DCOM] section 2.2.18) structure contained in the STDOBJREF structure MUST be set to IID_ITransactionStream as specified in section 1.9.

  • Set the MarshalSize field to the size, in bytes, of the TransactionStream field.

  • Set the IsolationLevel field, if present, to the IsolationLevel value.