Bewerken

Delen via


MsmqBindingElementBase.RetryCycleDelay Property

Definition

Gets or sets a value that specifies how long to wait before attempting another retry cycle when attempting to deliver a message that could not be delivered.

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 30 (minutes).

Attributes

Remarks

A single retry cycle makes repeated attempts to deliver a message to the receiving application (specified by the MaxRetryCycles property). If all attempts fail, the message is placed back in the retry queue. This property specifies how long the message remains in the retry queue before it is transferred to the application queue for another retry cycle. This property is available starting with the Windows Vista or later operating systems.

Applies to