MsmqBindingElementBase::RetryCycleDelay Property
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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System::TimeSpanThe 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).
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is less than zero. |
| ArgumentOutOfRangeException | The value is not infinite and larger than Int32.MaxValue milliseconds. |
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.
Available since 3.0