3.4.7.23 Unilaterally Aborted

The Unilaterally Aborted event MUST be signaled with the following arguments:

  • An Enlistment object

If the Unilaterally Aborted event is signaled, the transaction manager MUST perform the following actions:

  • If the enlistment's connection is of type CONNTYPE_TXUSER_BEGINNER (section 2.2.8.1.1):

    • If the connection state is Active.

    • Set the connection state to Aborting Transaction.

  • Otherwise, if the enlistment's connection is of type CONNTYPE_TXUSER_BEGIN2 (section 2.2.8.1.2) or CONNTYPE_TXUSER_PROMOTE (section 2.2.8.1.3):

    • Send a TXUSER_BEGIN2_MTAG_SINK_ERROR (section 2.2.8.1.2.5) message:

      • The Error field MUST be set to TRUN_TXBEGIN_ERROR_NOTIFY_ABORTED.

    • Set the connection state to Ended.