LocalClientSecuritySettingsElement.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.

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 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. O valor padrão é "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. As mensagens que não passam no teste de tempo de envio são rejeitadas. Essa configuração é usada em conjunto com a ReplayWindow propriedade.

Aplica-se a