LocalClientSecuritySettingsElement.MaxClockSkew Propriedade

Definição

Obtém ou define a TimeSpan que especifica a diferença máxima de tempo entre os relógios do sistema das duas partes comunicantes.

public:
 property TimeSpan MaxClockSkew { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("maxClockSkew", DefaultValue="00:05:00")]
public TimeSpan MaxClockSkew { get; set; }
[System.Configuration.ConfigurationProperty("maxClockSkew", DefaultValue="00:05:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan MaxClockSkew { get; set; }
[System.Configuration.ConfigurationProperty("maxClockSkew", DefaultValue="00:05:00")]
[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="00:05:00")>]
member this.MaxClockSkew : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("maxClockSkew", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.MaxClockSkew : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("maxClockSkew", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.MaxClockSkew : TimeSpan with get, set
Public Property MaxClockSkew As TimeSpan

Valor de Propriedade

A TimeSpan que especifica a diferença máxima de tempo entre os relógios do sistema das duas partes comunicantes. O valor padrão é "00:05:00".

Atributos

Observações

Quando esta propriedade está definida para o padrão, o recetor aceita mensagens com carimbos de hora de envio até 5 minutos mais tarde ou antes do momento em que a mensagem foi recebida. Mensagens que não passam no teste de envio são rejeitadas. Esta configuração é usada em conjunto com a ReplayWindow propriedade.

Aplica-se a