MsmqBindingBase.MaxRetryCycles 屬性

定義

取得或設定嘗試傳遞訊息至接收應用程式的重試循環次數上限。

public:
 property int MaxRetryCycles { int get(); void set(int value); };
public int MaxRetryCycles { get; set; }
member this.MaxRetryCycles : int with get, set
Public Property MaxRetryCycles As Integer

屬性值

嘗試傳遞訊息至應用程式的重試循環次數上限。 預設值為 2。

備註

單一重試循環會嘗試以指定的次數,傳遞訊息至應用程式。 嘗試的次數是由 ReceiveRetryCount 屬性設定。 在立即重試達指定次數後,如果應用程式無法存取訊息,訊息就會傳送至重試佇列。 在 RetryCycleDelay 屬性指定的延遲之後,後續的重試循環會包含從重試佇列傳回應用程式佇列的訊息,以再次嘗試傳遞至應用程式。 MaxRetryCycles 屬性會指定應用程式用於嘗試傳遞訊息的重試循環次數。

適用於