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.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public TimeSpan RetryCycleDelay { get; set; }

Property Value

Type: System.TimeSpan

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

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.

.NET Framework
Available since 3.0
Return to top
Show: