MsmqElementBase.MaxRetryCycles Propriedade

Definição

Obtém ou define o número máximo de ciclos de novas tentativas de repetição para entregar as mensagens ao aplicativo de destino.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=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxRetryCycles { get; set; }
[<System.Configuration.ConfigurationProperty("maxRetryCycles", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxRetryCycles : int with get, set
Public Property MaxRetryCycles As Integer

Valor da propriedade

Int32

Um inteiro que indica o número máximo de ciclos de repetição para tentar a entrega de mensagens para o aplicativo.An integer that indicates the maximum number of retry cycles to attempt delivery of messages to the application. O valor padrão é 2.The default value is 2.

Atributos

Comentários

Um único ciclo de repetição tenta entregar uma mensagem a um aplicativo um número de vezes especificado.A single retry cycle attempts to deliver a message to an application a specified number of times. O número de tentativas feitas é definido pela ReceiveRetryCount propriedade.The number of attempts made is set by the ReceiveRetryCount property. Se o aplicativo não conseguir consumir a mensagem depois que as tentativas na entrega tiverem sido esgotadas, a mensagem será enviada para uma fila de repetição.If the application fails to consume the message after the attempts at delivery have been exhausted, the message is sent to a retry queue. Os ciclos de repetição subsequentes consistem na mensagem que está sendo retornada da fila de repetição para a fila do aplicativo para tentar a entrega para o aplicativo novamente, após um atraso especificado pela RetryCycleDelay propriedade.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. O MaxRetryCycles propriedade especifica o número de repetição ciclos que o aplicativo usa para tentar entregar a mensagem.The MaxRetryCycles property specifies the number of retry cycles that the application uses to attempt to deliver the message.

Aplica-se a