Share via


LocalServiceSecuritySettingsElement.MaxClockSkew 속성

정의

서로 통신하는 양쪽 시스템 시계 간의 최대 시간 차이를 지정하는 TimeSpan을 가져오거나 설정합니다.

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

속성 값

TimeSpan

서로 통신하는 양쪽의 시스템 클록 간의 최대 시간 차이를 지정하는 TimeSpan입니다. 기본값은 "00:05:00"입니다.

특성

설명

이 속성을 기본값으로 설정하면 수신자는 메시지를 받은 시간을 기준으로 보낸 시간 타임스탬프가 전후 5분 이내인 메시지를 수신 허용합니다. 보낸 시간 테스트를 통과하지 못한 메시지는 거부됩니다. 이 설정은 ReplayWindow 속성과 함께 사용됩니다.

적용 대상