Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ResumeTransaction (obsolete) – PB Docs 2018 – PowerBuilder Library

ResumeTransaction (obsolete) – PB Docs 2018

ResumeTransaction (obsolete)

Description

Associates the EAServer transaction passed as an argument with the
calling thread.

Obsolete function

ResumeTransaction is obsolete, because EAServer is no longer
supported since PowerBuilder 2017.

Applies to

CORBACurrent objects

Syntax

Argument

Description

CORBACurrent

Reference to the CORBACurrent service
instance

handletrans

An unsignedlong containing the handle of a suspended
transaction

Return value

Integer. Returns 0 if it succeeds and one of the following negative
values if an error occurs:

-1 — Unknown failure

-2 — The transaction referred to by handletrans is no longer
valid

Usage

The ResumeTransaction function associates the transaction referred
to by the handletrans argument with the calling thread. The argument is
obtained from a call to SuspendTransaction and may refer to a transaction
that was previously associated with the current thread or with a different
thread in the same execution environment.

Caution

The handletrans argument must be obtained from the
SuspendTransaction function. Using any other value as the argument to
ResumeTransaction may have unpredictable results.

ResumeTransaction can be called by a client or a component that is
marked as OTS style.  must be using the two-phase commit transaction
coordinator (OTS/XA).

Examples

This example shows the use of the ResumeTransaction function to
associate the calling thread with the transaction referred to by the
ll_handle argument returned by SuspendTransaction:

See also

BeginTransaction
(obsolete)

CommitDocking

GetContextService

GetStatus (obsolete)

GetTransactionName
(obsolete)

Init (obsolete)

RollbackOnly
(obsolete)

RollbackTransaction
(obsolete)

SetTimeout (obsolete)

SuspendTransaction
(obsolete)


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x