TransactionMode Enumeration |
Task processing transation modes.
Namespace:
MFiles.VAF.AppTasks
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic enum TransactionMode
Public Enumeration TransactionMode
public enum class TransactionMode
Members
| Member name | Value | Description |
---|
| Undefined | 0 |
The transaction mode has not been specified.
|
| Unsafe | 1 |
Tasks are run in a transactionless scope.
Each vault operation is committed independently,
and the final task state is committed independently.
|
| Hybrid | 2 |
Each task is started in a transactionless scope, but the task then must be completed
with a call to Commit(ActionVault),
where all vault operations and the saving of the final task state are fully committed on
success, or fully rolled-back on failure.
Only the final commit call is subject to a timeout.
|
| Full | 3 |
Each task is run in a single, dedicated transaction where all vault operations and
the saving of the final task state are fully committed on success, or fully rolled-
back on failure.
Subject to timeouts.
|
See Also