LocalServiceSecuritySettingsElement.MaxClockSkew Propriedade

Definição

Obtém ou define um TimeSpan que especifica a diferença máxima de tempo entre os relógios do sistema das duas partes da comunicação.Gets or sets a TimeSpan that specifies the maximum time difference between the system clocks of the two communicating parties.

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

Valor da propriedade

TimeSpan

Um TimeSpan valor que especifica a diferença máxima de tempo entre os relógios do sistema das duas partes que se comunicam.A TimeSpan that specifies the maximum time difference between the system clocks of the two communicating parties. O valor padrão é "00:05:00".The default value is "00:05:00".

Atributos

Comentários

Quando essa propriedade é definida como o padrão, o receptor aceita mensagens com carimbos de data/hora de envio de até 5 minutos depois ou antes da hora em que a mensagem foi recebida.When this property is set to the default, the receiver accepts messages with send-time timestamps up to 5 minutes later or earlier than the time the message was received. As mensagens que não passam no teste de tempo de envio são rejeitadas.Messages that do not pass the send-time test are rejected. Essa configuração é usada em conjunto com a ReplayWindow propriedade.This setting is used in conjunction with the ReplayWindow property.

Aplica-se a