Udostępnij za pośrednictwem


LocalServiceSecuritySettingsElement.SessionKeyRolloverInterval Właściwość

Definicja

Pobiera lub ustawia wartość określającą przedział czasu, przez który poprzedni klucz sesji jest prawidłowy dla komunikatów przychodzących TimeSpan podczas odnawiania klucza. Wartość domyślna to "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

Wartość właściwości

TimeSpan

Element określający czas trwania poprzedniego klucza sesji jest prawidłowy dla TimeSpan komunikatów przychodzących podczas odnawiania klucza. Wartość domyślna to "00:05:00".

Atrybuty

Uwagi

Podczas odnawiania kluczy klient i serwer muszą zawsze wysyłać komunikaty przy użyciu najbardziej bieżącego dostępnego klucza. Obie strony akceptują komunikaty przychodzące zabezpieczone przy użyciu klucza poprzedniej sesji do momentu wygaśnięcia czasu przechowania określonego przez tę właściwość.

Dotyczy