Share via


LocalServiceSecuritySettingsElement.SessionKeyRolloverInterval Propriété

Définition

Obtient ou définit une valeur de type TimeSpan qui spécifie la période de validité d'une clé de session précédente 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é

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

Attributs

Remarques

Pendant un renouvellement de clé, le client et le serveur doivent toujours envoyer des messages à l'aide de la clé disponible la plus récente. 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 à