MsmqBindingElementBase.MaxRetryCycles 속성

정의

수신 애플리케이션으로 메시지 배달을 시도하는 최대 재시도 주기 수를 가져오거나 설정합니다.

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

속성 값

Int32

포이즌 메시지 큐로 메시지를 전송하기 전에 수행하는 최대 재시도 주기 수입니다.

특성

설명

다시 시도 주기 는 메시지가 다시 시도 큐에서 애플리케이션 큐로 전송되어 애플리케이션에 배달을 시도하는 경우입니다. ReceiveRetryCount로 지정된 즉시 재시도 횟수가 모두 실패하면 그 메시지는 재시도 큐로 배치됩니다. MaxRetryCycles는 재시도 주기 수를 지정하며 이 수에는 맨 처음 메시지를 보내는 시도는 포함되지 않습니다. 메시지 배달은 최대 (1 + MaxRetryCycles) * (ReceiveRetryCount + 1)회 시도됩니다. 예를 들어, ReceiveRetryCount = 0이고 MaxRetryCycles = 1인 경우 메시지 배달이 최대 2회 시도됩니다. 이 속성은 Windows Vista 운영 체제부터 사용할 수 있습니다.

적용 대상