ITaskProcessingJobTDirectiveTransaction Method |
Runs a callback in the scope of a vault transaction.
If the method fails, all operations made with the provided vault will be rolled back.
If the method succeeds, all operations made with the provided vault will be committed.
Namespace:
MFiles.VAF.AppTasks
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxvoid Transaction(
Action<Vault> vaultOperations
)
Sub Transaction (
vaultOperations As Action(Of Vault)
)
void Transaction(
Action<Vault^>^ vaultOperations
)
Parameters
- vaultOperations
- Type: SystemActionVault
A callback containing vault operations that will all succeed or all fail together.
See Also