LastKnownGoodConfigurationCacheOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 BaseConfgiurationComparer that to compare BaseConfiguration. (Inherited from LKGConfigurationCacheOptions) |
LastKnownGoodConfigurationSizeLimit |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for