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); };
public TimeSpan RetryCycleDelay { get; set; }
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).

Exceptions

The value is less than zero.

-or-

The value is not infinite and is larger than Int32.MaxValue milliseconds.

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 can only be used on operating systems starting with Windows Vista.

Applies to