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)

public int MaxRetryCycles { get; set; }
/** @property */
public int get_MaxRetryCycles ()

/** @property */
public void set_MaxRetryCycles (int value)

public function get MaxRetryCycles () : int

public function set MaxRetryCycles (value : int)

Not applicable.

Property Value

An integer that indicates 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 consume the message after the attempts at delivery have been exhausted, 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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions