MsmqBindingBase.ReceiveRetryCount Property

Gets or sets the maximum number of immediate delivery attempts on a message that is read from the application queue.

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

public int ReceiveRetryCount { get; set; }
/** @property */
public int get_ReceiveRetryCount ()

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

public function get ReceiveRetryCount () : int

public function set ReceiveRetryCount (value : int)

Not applicable.

Property Value

An integer that indicates the maximum number of immediate delivery attempts. The default is 5.

If the maximum number of immediate delivery attempts for the message is made and the message is not consumed by the application, then the message is sent to a retry queue to attempt delivery at some later point in time. If no retry cycles are specified, then the messages is either sent to the poison-message queue, or a negative acknowledgement is sent back to the sender.

For more information, see MaxRetryCycles and RetryCycleDelay.

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