3.4.7.4 Begin In Doubt

The Begin In Doubt event MUST be signaled with the following arguments:

  • An Enlistment object.

If the Begin In Doubt event is signaled, the transaction manager MUST perform the following actions:

  • If the enlistment connection is of type CONNTYPE_TXUSER_IMPORT (section 2.2.8.2.2.4):

    • Set the connection state to Ended.

  • Otherwise, if the enlistment connection is of type CONNTYPE_TXUSER_IMPORT2 (section 2.2.8.2.2.5) or CONNTYPE_TXUSER_ASSOCIATE (section 2.2.8.2.1.1):

    • Send a TXUSER_IMPORT2_MTAG_SINK_ERROR (section 2.2.8.2.2.5.4) message:

      • The Error field MUST be set to TRUN_TXIMPORT_ERROR_NOTIFY_INDOUBT.

    • Set the connection state to Ended.