共用方式為


ServiceBusReceivedMessage.DeliveryCount Property

Definition

Get the current delivery count.

public int DeliveryCount { get; }
member this.DeliveryCount : int
Public ReadOnly Property DeliveryCount As Integer

Property Value

This value starts at 1.

Remarks

Number of deliveries that have been attempted for this message. The count is incremented when a message lock expires, or the message is explicitly abandoned by the receiver. This property is read-only.

Applies to