Transaction Class Members
- Last UpdatedNov 06, 2025
- 2 minute read
The following tables list the members exposed by Transaction.
| Name | Description | |
|---|---|---|
![]() ![]() | AbortTransaction | The AbortTransaction() method ends a Transaction that was previously started on the Middleware Server. All the MES API calls that were made on this thread since calling BeginTransaction will be aborted and not written to the database. |
![]() ![]() | CommitTransaction | The CommitTransaction() method ends a Transaction that was previously started on the Middleware Server. All the MES API calls that were made on this thread since calling BeginTransaction will be committed to the database. |
![]() ![]() | StartTransaction | The StartTransaction() method begins a transaction on the Middleware Server that will wrap any subsequent MES API calls made on the current client thread, until either CommitTransaction or AbortTransaction is called on the same thread. Or, if the transaction takes longer than the configured time (configured using the Middleware Configuration Editor), it will be aborted automatically by the Middleware Server. When using explicit transaction control, the MES middleware's transaction control and deadlock retry logic is disabled. The deadlock or other error message is returned to the client and the client must then resubmit the call. |

