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.
Represents a local in-memory cache whose values are not serialized.
public interface class IMemoryCache : IDisposable
public interface IMemoryCache : IDisposable
type IMemoryCache = interface interface IDisposable
Public Interface IMemoryCache Implements IDisposable
Create or overwrite an entry in the cache.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from IDisposable)
Removes the object associated with the given key.
Gets the item associated with this key if present.