3.4.7.9 Create Voter Enlistment Failure
The Create Voter Enlistment Failure event MUST be signaled with the following arguments:
An Enlistment object.
A value indicating the failure reason. The reason MUST be set to the following value:
Too Late
If the Create Voter Enlistment Failure event is signaled, the Transaction Manager MUST perform the following actions:
If the provided enlistment's connection is of type CONNTYPE_TXUSER_IMPORT2 (section 2.2.8.2.2.5):
Send a TXUSER_IMPORT2_MTAG_SINK_ERROR (section 2.2.8.2.2.5.4) message using the provided enlistment's connection:
The Error field MUST be set to:
TRUN_TXIMPORT_ERROR_IMPORT_TX_NOT_FOUND.
Set the connection state to Ended.
Otherwise, if the provided enlistment's connection is of type CONNTYPE_TXUSER_IMPORT (section 2.2.8.2.2.4):
Send a TXUSER_IMPORT_MTAG_IMPORT_TX_NOT_FOUND message using the provided enlistment's connection.
Set the connection state to Ended.