Compartilhar via


LocalClientSecuritySettingsElement.MaxCookieCachingTime Propriedade

Definição

Obtém ou define um TimeSpan que especifica o tempo de vida máximo de cookies.

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

Valor da propriedade

TimeSpan

Um TimeSpan valor que especifica o tempo de vida máximo de cookies. O valor padrão é "10675199.02:48:05.4775807".

Atributos

Aplica-se a