편집

다음을 통해 공유


LocalServiceSecuritySettingsElement.IssuedCookieLifetime Property

Definition

Gets or sets a TimeSpan that specifies the lifetime issued to all new security cookies.

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

Property Value

A TimeSpan that specifies the lifetime issued to all new security cookies. The default value is "10:00:00".

Attributes

Remarks

Cookies that exceed their lifetime are recycled and must be negotiated again.

Applies to