LocalServiceSecuritySettingsElement.SessionKeyRolloverInterval Propriété

Définition

Obtient ou définit un TimeSpan qui spécifie l’intervalle de temps qu’une clé de session précédente est valide sur les messages entrants pendant un renouvellement de clé. La valeur par défaut est « 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

Valeur de propriété

Qui TimeSpan spécifie la durée pendant laquelle une clé de session précédente est valide sur les messages entrants pendant un renouvellement de clé. La valeur par défaut est « 00:05:00 ».

Attributs

Remarques

Pendant le renouvellement de clé, le client et le serveur doivent toujours envoyer des messages à l’aide de la clé disponible la plus actuelle. Les deux parties acceptent les messages entrants sécurisés avec la clé de session précédente jusqu’à l’expiration de l’heure de substitution spécifiée par cette propriété.

S’applique à