Click or drag to resize

IVaultTransactionRunnerRun Method (ActionVault)

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.Core
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
void Run(
	Action<Vault> callback
)

Parameters

callback
Type: SystemActionVault
A callback containing vault operations that will all succeed or all fail together.
See Also