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.

適用於

另請參閱