Compartir a través de


UserNameServiceElement.CachedLogonTokenLifetime Propiedad

Definición

Obtiene o establece la duración máxima que un token está almacenado en memoria caché.

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

Valor de propiedad

TimeSpan

que TimeSpan representa el período máximo de tiempo que se almacena en caché un token.

Atributos

Se aplica a