Share via


LocalServiceSecuritySettingsElement.IssuedCookieLifetime Propriété

Définition

Obtient ou définit un TimeSpan qui spécifie la durée de vie de tous les nouveaux cookies de sécurité.

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

Valeur de propriété

TimeSpan qui spécifie la durée de vie de tous les nouveaux cookies de sécurité. La valeur par défaut est « 10:00:00 ».

Attributs

Remarques

Les cookies qui dépassent leur durée de vie sont recyclés et doivent être renégociés.

S’applique à