共用方式為


LKGConfigurationCacheOptions Class

Definition

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

public class LKGConfigurationCacheOptions
type LKGConfigurationCacheOptions = class
Public Class LKGConfigurationCacheOptions
Inheritance
LKGConfigurationCacheOptions
Derived

Constructors

LKGConfigurationCacheOptions()

Fields

DefaultLKGConfigurationSizeLimit

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.

LastKnownGoodConfigurationSizeLimit

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

RemoveExpiredValues

Whether or not to remove expired items.

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.

Applies to