Export (0) Print
Expand All

MsmqBindingBase.MaxRetryCycles Property

Gets or sets the maximum number of retry cycles to attempt delivery of messages to the receiving application.

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

member MaxRetryCycles : int with get, set

Property Value

Type: System.Int32
The maximum number of retry cycles to attempt delivery of messages to the application. The default value is 2.

A single retry cycle attempts to deliver a message to an application a specified number of times. The number of attempts made is set by the ReceiveRetryCount property. If the application fails to access 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 MaxRetryCycles property specifies the number of retry cycles that the application uses to attempt to deliver the message.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft