Partager via


UserNameServiceElement.CachedLogonTokenLifetime Propriété

Définition

Obtient ou définit la durée maximale de la mise en cache d'un jeton.

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

Valeur de propriété

TimeSpan

TimeSpanQui représente la durée maximale de mise en cache d’un jeton.

Attributs

S’applique à