Compartir a través de


LastKnownGoodConfigurationCacheOptions Class

Definition

Specifies the LastKnownGoodConfigurationCacheOptions which can be used to configure the internal LKG configuration cache. See Microsoft.IdentityModel.Tokens.EventBasedLRUCache`2 for more details.

All fields/properties are now defined in the Microsoft.IdentityModel.Tokens.Configuration.LKGConfigurationCacheOptions class so they are more accessible from other assemblies/classes.

public class LastKnownGoodConfigurationCacheOptions : Microsoft.IdentityModel.Tokens.Configuration.LKGConfigurationCacheOptions
type LastKnownGoodConfigurationCacheOptions = class
    inherit LKGConfigurationCacheOptions
Public Class LastKnownGoodConfigurationCacheOptions
Inherits LKGConfigurationCacheOptions
Inheritance
LastKnownGoodConfigurationCacheOptions

Constructors

LastKnownGoodConfigurationCacheOptions()

Fields

DefaultLastKnownGoodConfigurationSizeLimit

10 is the default size limit of the cache (in number of items) for last known good configuration.

Properties

BaseConfigurationComparer

Gets or sets the IEqualityComparer<T> that is used to determine equality of values for BaseConfiguration.

(Inherited from LKGConfigurationCacheOptions)
LastKnownGoodConfigurationSizeLimit

Gets or sets the size limit of the cache (in number of items) for last known good configuration.

(Inherited from LKGConfigurationCacheOptions)
RemoveExpiredValues

Whether or not to remove expired items.

(Inherited from LKGConfigurationCacheOptions)
TaskCreationOptions

The event queue task creation option, default to None instead of LongRunning as LongRunning will always start a task on a new thread instead of a thread from ThreadPool.

(Inherited from LKGConfigurationCacheOptions)

Applies to