Redigera

Dela via


TokenReplayDetectionElement.ExpirationPeriod Property

Definition

Gets or sets the maximum amount of time before an item is considered expired and removed from the cache.

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

Property Value

The maximum amount of time before an item is considered expired and removed from the cache.

Attributes

Remarks

This property is optional. It represents the expirationPeriod attribute of the <tokenReplayDetection> element.

Applies to