Overload List

NameDescription
Public methodTryResume(TransactionId)
On the current thread, resumes a transaction that was previously suspended using [!:suspend]. This method is equivalent to
CopyC#
if (isSuspended(txId)) {
  resume(txId);
}
except that this action is performed atomically

Since 3.6.2

Public methodTryResume(TransactionId, Int32)
On the current thread, resumes a transaction that was previously suspended using [!:suspend], or waits for the specified timeout interval if the transaction has not been suspended. This method will return if:

Another thread suspends the transaction

Another thread calls commit/rollback on the transaction

This thread has waited for the specified timeout

This method returns immediately if TransactionId returns false.

Since 3.6.2

See Also