DisablePause method |
Applies to
TIB_Transaction
Declaration
Procedure DisablePause;
Description
Call this to disable pause processing - usually to prevent a long running
report or procedure being interrupted by a call to Pause. Call EnablePause
to re-enable Pause capability for the transaction.
DisablePause/EnablePause would usually be code in a try/finally block to
ensure that the transaction can be paused after the long running process
has completed.
If DisablePause is called when the Transaction is already paused then
the standard exception is raised "Transaction Paused".