MsmqElementBase.RetryCycleDelay Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property TimeSpan RetryCycleDelay { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")]
public TimeSpan RetryCycleDelay { get; set; }
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan RetryCycleDelay { get; set; }
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan RetryCycleDelay { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")>]
member this.RetryCycleDelay : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.RetryCycleDelay : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue="00:30:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.RetryCycleDelay : TimeSpan with get, set
Public Property RetryCycleDelay As TimeSpan
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
.NET