disableAllTransTraceCallbacks
disableAllTransTraceCallbacks();
The disableAllTransTraceCallbacks method of the Process class unregisters all transaction trace callbacks for the receiver, which must be the current process.
If you want to unregister a specific callback, use the enableTransTraceCallback method specifying the method, receiver, and passing the value of false to the enable parameter.
The following code fragment specifies that when a transaction for the current process commits, a method AnyClass class commitCallback is no longer to be called for the receiver inst, which is of type AnyClass.
process.enableTransTraceCallback(AnyClass::commitCallback, inst, false);
The following code fragment specifies that when a transaction for the current process commits, no callbacks are to be made.
process.disableAllTransTraceCallbacks();