Compartilhar via


3.3.4.1.3 Beginning a Transaction Using CONNTYPE_TXUSER_PROMOTE

The application MUST perform the following actions:

  • Initiate a new CONNTYPE_TXUSER_PROMOTE (section 2.2.8.1.3) connection using the transaction manager Name field of the application.

  • Send a TXUSER_BEGINNER_MTAG_PROMOTE (section 2.2.8.1.3.1) message using the connection. The following message fields MUST be set to values that are provided by the higher-layer business logic:

    • The isoLevel field to the wanted isolation-level value.

    • The dwTimeout field to the wanted time-out value.

    • The szDesc field to the wanted transaction description string.

    • The isoFlags field to the wanted isolation flags value.

    • The guidTx field to the wanted predetermined transaction identifier.

  • Set the connection state to Awaiting Promote Response.