Click or drag to resize

IVaultTransactionRunner Interface

Interface for executing multiple vault operations in a single transaction.

Namespace:  MFiles.VAF.Core
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
public interface IVaultTransactionRunner
Methods
  NameDescription
Public methodRun(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.
Public methodRun(ActionVault, EventHandlerEnvironment)
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.
Public methodRunNested(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.
Public methodRunNested(Vault, ActionVault, EventHandlerEnvironment)
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.
Top
See Also