共用方式為


CanCommitResult Enum

Definition

Enumeration status for the CanCommit callback.

public enum class CanCommitResult
public enum CanCommitResult
type CanCommitResult = 
Public Enum 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