Editar

Compartilhar via


UserNameServiceElement.CachedLogonTokenLifetime Property

Definition

Gets or sets the maximum length of time a token is cached.

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

Property Value

A TimeSpan that represents the maximum length of time a token is cached.

Attributes

Applies to