Edit

Share via


MessageQueueTransaction.Status Property

Definition

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.

Applies to

See also