CanCommitResult Enum

Definition

Enumeration status for the CanCommit callback.

C++
public enum class CanCommitResult
Inheritance
CanCommitResult

Fields

Name Value Description
Abandon 0

Stop processing the current transaction and exit gracefully with not additional operations, including trying to rollback. This result is returned if during the execution of a transaction the Store is disposed.

Commit 1

Proceed with the current transaction.

Rollback 2

Stop proceesing the current transaction and rollback any changes made so far.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022