[TIBCO.EMS.UFOCLIENT .NET client library 6.3 documentation]

Commit the open transaction

Namespace:  TIBCO.EMS.UFO
Assembly:  TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

Syntax

public virtual void Commit()
Public Overridable Sub Commit
public:
virtual void Commit()

Remarks

A session (with transaction semantics) always has exactly one open transaction. Message operations associated with the session become part of that transaction. This call commits all the messages within the transaction and releases any locks. Then it opens a new transaction.

Exceptions

ExceptionCondition
EMSExceptionIf the Commit failed due to some internal error.
TransactionRolledBackExceptionAn attempt to commit a transaction resulted in rollback.
IllegalStateExceptionCommit occurred in an inappropriate context.

See Also