MessageQueueTransactionStatus 枚举

定义

指定内部消息队列事务的状态。Specifies the state of an internal Message Queuing transaction.

public enum class MessageQueueTransactionStatus
[System.Serializable]
public enum MessageQueueTransactionStatus
type MessageQueueTransactionStatus = 
Public Enum MessageQueueTransactionStatus
继承
MessageQueueTransactionStatus
属性

字段

Aborted 0

事务已被中止并且已通知所有参与者。The transaction has been aborted and all participants have been notified.

Committed 1

事务已被提交并且已通知所有参与者。The transaction has been committed and all participants have been notified.

Initialized 2

事务已被初始化。The transaction has been initialized. 但事务尚未开始。It has not yet been started.

Pending 3

事务已经开始。The transaction has been started. 但事务尚未被提交或回滚。It has not yet been either committed or rolled back.

注解

创建MessageQueueTransaction类的实例后, 构造函数会将其Status属性设置为InitializedWhen an instance of the MessageQueueTransaction class has been created, its Status property is set by the constructor to Initialized. 事务开始后, 但在提交或回滚Status事务之前, 为。 PendingAfter a transaction has begun, but before it is committed or rolled back, the Status is Pending.

适用于

另请参阅