In some types of formulas, the transaction feature can be disabled. In those scripts, the ScriptWriter still wants some code to be in a transaction.
With the TransactionScopeWrapper, the ScriptWriter can executed its code within a transaction.
The ScriptWriter can also trigger actions when the current transaction is completed (or rollbacked).
This object can only be access generating formulas and using Scripting.dll