Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ServiceBusReceivedMessage.DeliveryCount Property

Definition

Namespace:
Azure.Messaging.ServiceBus
Assembly:
Azure.Messaging.ServiceBus.dll
Package:
Azure.Messaging.ServiceBus v7.20.1
Package:
Azure.Messaging.ServiceBus v7.18.0-beta.1
Source:
ServiceBusReceivedMessage.cs
Source:
ServiceBusReceivedMessage.cs

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.

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


Feedback

Was this page helpful?