MsmqElementBase.RetryCycleDelay Propriedade

Definição

Obtém ou define um valor que indica o atraso de tempo entre os ciclos de nova tentativa ao tentar entregar uma mensagem que não pôde ser entregue imediatamente.Gets or sets a value that indicates the time delay between retry cycles when attempting to deliver a message that could not be delivered immediately.

public:
 property TimeSpan RetryCycleDelay { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public TimeSpan RetryCycleDelay { get; set; }
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan RetryCycleDelay { get; set; }
[System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan RetryCycleDelay { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.RetryCycleDelay : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.RetryCycleDelay : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("retryCycleDelay", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.RetryCycleDelay : TimeSpan with get, set
Public Property RetryCycleDelay As TimeSpan

Valor da propriedade

TimeSpan

O TimeSpan que especifica o intervalo de tempo de espera antes do início do próximo ciclo de tentativas de entrega para o aplicativo de recebimento.The TimeSpan that specifies the interval of time to wait before starting the next cycle of delivery attempts to the receiving application. O valor padrão é "00:10:00".The default value is "00:10:00".

Atributos

Comentários

Um único ciclo de repetição tenta entregar uma mensagem a um aplicativo de recebimento um número especificado de vezes.A single retry cycle attempts to deliver a message to a receiving application a specified number of times. O número de tentativas feitas é especificado pela ReceiveRetryCount propriedade.The number of attempts made is specified by the ReceiveRetryCount property. Se o aplicativo não conseguir consumir a mensagem após o número especificado de repetições imediatas, a mensagem será enviada para uma fila de repetição.If the application fails to consume the message after the specified number of immediate retries, 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 número de ciclos de repetição é especificado pela MaxRetryCycles propriedade.The number of retry cycles is specified by the MaxRetryCycles property.

Aplica-se a