ITransactionsExecuteInvisibleTransaction Method

Spotfire 14.3 API Reference
Starts an invisible transaction on the document model by executing executor.

Namespace:  Spotfire.Dxp.Framework.DocumentModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
void ExecuteInvisibleTransaction(
	Executor executor
)

Parameters

executor
Type: Spotfire.Dxp.Framework.DocumentModelExecutor
The delegate to execute.
Remarks

This method starts an invisible transaction on the document model by executing executor. If there is already an ongoing transaction then the transaction is included in the current transaction.

All modifications of the document that are performed as a result of the operations performed by executor will be recorded in the transaction so that the transaction can be unexecuted if the user requests an undo.

The transaction is invisible in the sense that the user will not see the transaction as an entry on the undo stack. If the user makes an undo then the transaction will be silently unexecuted together with the enclosing visible transaction.

Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference