3.3.4.9.2 Abort a Transaction Using CONNTYPE_TXUSER_BEGINNER
The application MUST perform the following actions:
If the connection state is not Processing Transaction:
Return a failure result to the higher-layer business logic.
Otherwise:
Send a TXUSER_BEGINNER_MTAG_ABORT (section 2.2.8.1.1.1) message using the CONNTYPE_TXUSER_BEGINNER (section 2.2.8.1.1) connection:
The guidReason field MUST be set to the value that is provided by the higher-layer business logic, as specified in section 2.2.8.1.1.1.
Set the connection state to Awaiting Abort Response.