Share via


LocalServiceSecuritySettingsElement.SessionKeyRolloverInterval 屬性

定義

取得或設定 TimeSpan,這個項目會指定前一個工作階段金鑰在金鑰更新期間對傳入訊息屬有效的時間間隔。 預設為 "00:05:00"。

public:
 property TimeSpan SessionKeyRolloverInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("sessionKeyRolloverInterval", DefaultValue="00:05:00")]
public TimeSpan SessionKeyRolloverInterval { get; set; }
[System.Configuration.ConfigurationProperty("sessionKeyRolloverInterval", DefaultValue="00:05:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan SessionKeyRolloverInterval { get; set; }
[System.Configuration.ConfigurationProperty("sessionKeyRolloverInterval", DefaultValue="00:05:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan SessionKeyRolloverInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("sessionKeyRolloverInterval", DefaultValue="00:05:00")>]
member this.SessionKeyRolloverInterval : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("sessionKeyRolloverInterval", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.SessionKeyRolloverInterval : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("sessionKeyRolloverInterval", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.SessionKeyRolloverInterval : TimeSpan with get, set
Public Property SessionKeyRolloverInterval As TimeSpan

屬性值

TimeSpan,指定前一個工作階段金鑰在金鑰更新期間對傳入訊息屬有效的時間間隔。 預設為 "00:05:00"。

屬性

備註

在金鑰更新之後,用戶端和伺服器都必須使用最新的可用金鑰來傳送訊息。 雙方都會接受由前一個工作階段金鑰保護的傳入訊息,直到這個屬性指定的變換時間逾期。

適用於