SALES: 1-800-867-1380

BrokeredMessage.DeliveryCount Property

Gets the number of deliveries.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

'Declaration
Public Property DeliveryCount As Integer
	Get
	Friend Set
'Usage
Dim instance As BrokeredMessage
Dim value As Integer

value = instance.DeliveryCount

Property Value

Type: System.Int32
The number of deliveries.

ExceptionCondition
ObjectDisposedException

Thrown if the message is in disposed state.

InvalidOperationException

Thrown if the message has not been delivered by ServiceBus.

This property indicates how many receive operations that are not completed have occurred for this message.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft