MsmqElementBase.RetryCycleDelay Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates the time delay between retry cycles when attempting to deliver a message that could not be delivered immediately.

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

[ConfigurationPropertyAttribute("retryCycleDelay", DefaultValue = "00:30:00")]
public TimeSpan RetryCycleDelay { get; set; }

Property Value

Type: System.TimeSpan

The TimeSpan that specifies the interval of time to wait before starting the next cycle of delivery attempts to the receiving application. The default value is "00:10:00".

A single retry cycle attempts to deliver a message to a receiving application a specified number of times. The number of attempts made is specified by the ReceiveRetryCount property. If the application fails to consume the message after the specified number of immediate retries, the message is sent to a retry queue. Subsequent retry cycles consist of the message being returned from the retry queue to the application queue to attempt delivery to the application again, after a delay specified by the RetryCycleDelay property. The number of retry cycles is specified by the MaxRetryCycles property.

.NET Framework
Available since 3.0
Return to top
Show: