IVaultTransactionRunnerRunNested Method (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.
Namespace:
MFiles.VAF.Core
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxvoid RunNested(
Vault vault,
Action<Vault, EventHandlerEnvironment> callback
)
Sub RunNested (
vault As Vault,
callback As Action(Of Vault, EventHandlerEnvironment)
)
void RunNested(
Vault^ vault,
Action<Vault^, EventHandlerEnvironment^>^ callback
)
Parameters
- vault
- Type: Vault
Vault instance bound to the parent transaction scope. - callback
- Type: SystemActionVault, EventHandlerEnvironment
A callback containing vault operations that will all succeed or all fail together.
See Also