An MRU cache (Most Recently Used).

The following tables list the members exposed by the MruSecurityTokenCache type.

Public Constructors

  Name Description
MruSecurityTokenCache Overloaded.  

Public Fields

  Name Description
public fieldstatic DefaultTokenCacheSize  

Public Properties

  Name Description
public property MaximumSize Gets the maximum size of the cache.
public property Owner  Sets the SecurityTokenHandler that owns the cache. (Inherited from SecurityTokenCache)

Public Methods (see also Protected Methods)

  Name Description
public method ClearEntries Overridden. Clears the contents of the cache.
public method Equals  Overloaded. (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public methodstatic ReferenceEquals  (Inherited from Object)
public method ToString  (Inherited from Object)
public method TryAddEntry Overridden. Adds an entry to the cache and returns a value that indicates if the operation was successful.
public method TryGetAllEntries Overridden. Returns all the entries that match the given key.
public method TryGetEntry Overridden. Returns a value that indicates if the specified key exists in the cache. Also if it exists, marks it as MRU.
public method TryRemoveAllEntries Overridden. Deletes matching cache entries from the MruCache and returns a value that indicates whether any entry was deleted.
public method TryRemoveEntry Overridden. Deletes the specified cache entry from the MruCache and returns a value that indicates whether the entry was deleted.
public method TryReplaceEntry Overridden. Attempts to replace an existing entry in the cache with a new one.

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

See Also

Copyright © 2008 by Microsoft Corporation. All rights reserved.