Share via


LocalClientSecuritySettingsElement.MaxClockSkew Propriété

Définition

Obtient ou définit une valeur de type TimeSpan qui spécifie la différence de temps maximale entre les horloges système des deux parties communicantes.

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

Valeur de propriété

TimeSpan qui spécifie la différence de temps maximale entre les horloges système des deux parties communicantes. La valeur par défaut est « 00:05:00 ».

Attributs

Remarques

Lorsque cette propriété a la valeur par défaut, le récepteur accepte des messages dont l'horodatage d'envoi diffère au maximum de 5 minutes de son horodatage de réception. Les messages qui échouent au test de l'heure d'envoi sont rejetés. Ce paramètre est utilisé conjointement avec la propriété ReplayWindow.

S’applique à