MessageQueueTransaction.Status Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the status of the transaction.
public:
property System::Messaging::MessageQueueTransactionStatus Status { System::Messaging::MessageQueueTransactionStatus get(); };
public System.Messaging.MessageQueueTransactionStatus Status { get; }
member this.Status : System.Messaging.MessageQueueTransactionStatus
Public ReadOnly Property Status As MessageQueueTransactionStatus
Property Value
One of the MessageQueueTransactionStatus values that indicates whether the transaction has been committed, aborted, initialized, or is pending.
Remarks
When an instance of the MessageQueueTransaction class has been created, the Status is set by the constructor to Initialized
. After a call to Begin but before a call to Commit or Abort, the Status is Pending
.