LocalClientSecuritySettingsElement.MaxCookieCachingTime 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个 TimeSpan,它指定 Cookie 的最长生存期。
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
属性值
一个 TimeSpan,指定 Cookie 的最长生存期。 默认值为“10675199.02:48:05.4775807”。
- 属性