3.2.4.7 LU 6.2 Subordinate Enlistment Prepare Request Completed
This event MUST be signaled by the higher-layer business logic with the following arguments:
A connection object of type CONNTYPE_TXUSER_DTCLURMENLISTMENT
A request outcome value. This value MUST be one of the following:
Prepared
Aborted
Forget
If the LU 6.2 Subordinate Enlistment Prepare Request Completed event is signaled, the LU 6.2 Implementation MUST perform the following actions:
If the provided connection state is not set to Preparing For Transaction Commit:
Return a failure result to the higher-layer business logic.
Otherwise:
If the request outcome is Prepared:
Send a TXUSER_DTCLURMENLISTMENT_MTAG_TO_DTC_REQUESTCOMMIT message using the provided connection.
Set the connection state to Awaiting Transaction Outcome.
Otherwise, if the request outcome is Aborted:
Send a TXUSER_DTCLURMENLISTMENT_MTAG_TO_DTC_BACKOUT message using the provided connection.
Set the connection state to Awaiting Backout Response.
Otherwise, if the request outcome is Forget:
Send a TXUSER_DTCLURMENLISTMENT_MTAG_TO_DTC_FORGET message using the provided connection.
Set the connection state to Ended.