Bagikan melalui


LocalServiceSecuritySettingsElement.MaxClockSkew Properti

Definisi

Mendapatkan atau menetapkan TimeSpan yang menentukan perbedaan waktu maksimum antara jam sistem dari dua pihak yang berkomunikasi.

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

Nilai Properti

TimeSpan yang menentukan perbedaan waktu maksimum antara jam sistem dari dua pihak yang berkomunikasi. Nilai defaultnya adalah "00:05:00".

Atribut

Keterangan

Ketika properti ini diatur ke default, penerima menerima pesan dengan tanda waktu kirim hingga 5 menit lebih lambat atau lebih awal dari waktu pesan diterima. Pesan yang tidak lulus uji waktu kirim akan ditolak. Pengaturan ini digunakan bersama dengan ReplayWindow properti .

Berlaku untuk