MsmqBindingElementBase.MaxRetryCycles Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum number of retry cycles to attempt delivery of messages to the receiving application.
public:
property int MaxRetryCycles { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxRetryCycles", DefaultValue=2)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxRetryCycles { get; set; }
[<System.Configuration.ConfigurationProperty("maxRetryCycles", DefaultValue=2)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxRetryCycles : int with get, set
Public Property MaxRetryCycles As Integer
Property Value
The maximum number of retry cycles to attempt prior to transferring a message to the poison-message queue.
- Attributes
Remarks
A retry cycle is when a message is transferred from the retry queue to the application queue to attempt delivery to the application. Messages are placed in the retry queue after failing a number of immediate retries as specified by ReceiveRetryCount. MaxRetryCycles specifies the number of retry cycles and does not include the initial attempt to send the message. An attempt to deliver a message is made a maximum of (1 + MaxRetryCycles) * (ReceiveRetryCount + 1) times. For example, if ReceiveRetryCount = 0 and MaxRetryCycles is 1, there is a maximum of two attempts to deliver the message. This property is available starting with the Windows Vista operating system.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示