Click or drag to resize

IVaultTransactionRunnerRunNested Method (Vault, ActionVault)

Runs a callback in the scope of a vault transaction, nested in the transaction scope of the vault instance passed in. 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 RunNested(
	Vault vault,
	Action<Vault> callback
)

Parameters

vault
Type: Vault
Vault instance bound to the parent transaction scope.
callback
Type: SystemActionVault
A callback containing vault operations that will all succeed or all fail together.
See Also