MsmqElementBase.RetryCycleDelay Property

Definition

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.

C#
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")]
public TimeSpan RetryCycleDelay { get; set; }
C#
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan RetryCycleDelay { get; set; }
C#
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan RetryCycleDelay { get; set; }

Property Value

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".

Attributes

Remarks

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.

Applies to

Produit 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