MsmqBindingBase.ReceiveRetryCount Property

Definition

Gets or sets the maximum number of immediate delivery attempts on a message that is read from the application queue.

C#
public int ReceiveRetryCount { get; set; }

Property Value

The maximum number of immediate delivery attempts. The default is 5.

Remarks

If the maximum number of immediate delivery attempts for the message is made and the message is not accessed by the application, then the message is sent to a retry queue to attempt delivery at a later time. If no retry cycles are specified, then the messages is either sent to the poison-message queue, or a negative acknowledgement is sent back to the sender.

For more information, see MaxRetryCycles and RetryCycleDelay.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1