MsmqMessageProperty.DeliveryStatus 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 a value from the DeliveryStatus enumeration that indicates the delivery status of the message.
public:
property Nullable<System::ServiceModel::Channels::DeliveryStatus> DeliveryStatus { Nullable<System::ServiceModel::Channels::DeliveryStatus> get(); };
public System.ServiceModel.Channels.DeliveryStatus? DeliveryStatus { get; }
member this.DeliveryStatus : Nullable<System.ServiceModel.Channels.DeliveryStatus>
Public ReadOnly Property DeliveryStatus As Nullable(Of DeliveryStatus)
Property Value
A value from the DeliveryStatus enumeration that indicates the delivery status of the message. May be null
.
Remarks
A message may have a delivery status of InDoubt or NotDelivered. A message has a delivery status of InDoubt unless Message Queuing (MSMQ) can determine that it was not delivered, in which case its delivery status becomes NotDelivered.
An example of an in-doubt message is a message that has expired. Message Queuing cannot determine whether the message was delivered to the application after it expired.
Use this property together with DeliveryFailure when reading a message from a dead-letter queue to determine why the message failed delivery.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應