Bewerken

Delen via


MsmqMessageProperty.DeliveryFailure Property

Definition

Gets a value from the DeliveryFailure enumeration that indicates why the message failed delivery.

public:
 property Nullable<System::ServiceModel::Channels::DeliveryFailure> DeliveryFailure { Nullable<System::ServiceModel::Channels::DeliveryFailure> get(); };
public System.ServiceModel.Channels.DeliveryFailure? DeliveryFailure { get; }
member this.DeliveryFailure : Nullable<System.ServiceModel.Channels.DeliveryFailure>
Public ReadOnly Property DeliveryFailure As Nullable(Of DeliveryFailure)

Property Value

A value from the DeliveryFailure enumeration that indicates why the message failed delivery. May be null.

Remarks

Use this property together with DeliveryStatus when reading a message from a dead-letter queue to determine why the message failed delivery.

Applies to