TransactionStatus TransactionStatus TransactionStatus TransactionStatus Enum

定义

指示事务状态。Indicates the transaction status.

public enum class TransactionStatus
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum TransactionStatus
type TransactionStatus = 
Public Enum TransactionStatus
继承
TransactionStatusTransactionStatusTransactionStatusTransactionStatus
属性

字段

Aborted Aborted Aborted Aborted 4

该事务被中止。The transaction is aborted.

Aborting Aborting Aborting Aborting 3

事务正在中止。The transaction is in the process of aborting.

Commited Commited Commited Commited 0

事务已提交。The transaction has committed.

LocallyOk LocallyOk LocallyOk LocallyOk 1

事务未提交,也未中止。The transaction has neither committed nor aborted.

NoTransaction NoTransaction NoTransaction NoTransaction 2

当前没有通过 Enter(ServiceConfig) 使用的事务。No transactions are being used through Enter(ServiceConfig).

注解

TransactionStatus返回的值LeaveTransactionStatus is the value returned by Leave.

适用于