Export (0) Print
Expand All

MsmqElementBase.ReceiveRetryCount Property

Gets or sets the maximum number of times that the queue manager should attempt to send a message before transferring it to the retry queue.

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("receiveRetryCount", DefaultValue = )]
[IntegerValidatorAttribute(MinValue = )]
public int ReceiveRetryCount { get; set; }

Property Value

Type: System.Int32
A 32-bit signed integer that specifies the maximum number of times that the queue manager should attempt to send a message before transferring it to the retry queue.

If the maximum number of delivery attempts is reached and the message is not consumed by the application, then the message is sent to a retry queue for redelivery at some later point in time. The amount of time before the message is transferred back to the sending queue is controlled by RetryCycleDelay. If retry cycles reach the MaxRetryCycles value, then either the message is sent to the poison-message queue, or a negative acknowledgment is sent back to the sender.

For more information, see MaxRetryCycles and RetryCycleDelay.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft