Compartilhar via


UserNameServiceElement.CachedLogonTokenLifetime Propriedade

Definição

Obtém ou define o tempo máximo que um token pode ficar armazenado em cache.

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 da propriedade

TimeSpan

Um TimeSpan valor que representa o período máximo de tempo em que um token é armazenado em cache.

Atributos

Aplica-se a