共用方式為


3.4.7.20 Set Transaction Attributes Success

The Set Transaction Attributes Success event MUST be signaled with the following arguments:

  • A transaction object

If the Set Transaction Attributes Success event is signaled, the transaction manager MUST perform the following actions:

  • Find a CONNTYPE_TXUSER_IMPORT2 (section 2.2.8.2.2.5) connection instance in the provided transaction's connection list.

  • If the connection is not found, ignore the signal.

  • Otherwise:

    • Create a new Enlistment object using the following fields:

      • The Transaction Manager Communicating with an Application Facet

      • The provided transaction object

      • The connection object

    • Assign the new Enlistment object to the connection's Enlistment field.

    • Signal the Create Voter Enlistment (section 3.2.7.14) event on the Core Transaction Manager Facet (section 1.3.3.3.1) with the new Enlistment object.