System.Runtime.Caching Provides a base class that represents a type that can be implemented in order to monitor changes to cache entries. Initializes a new instance of the class. This constructor is called from constructors in derived classes to initialize the base class. Gets a collection of cache keys that are monitored for changes. A collection of cache keys. Gets a value that indicates the latest time (in UTC time) that the monitored cache entry was changed. The elapsed time. Gets the name of a region of the cache. The name of a region in the cache. Provides information about a cache entry that was removed from the cache. Initializes a new instance of the class. The instance from which was removed. One of the enumeration values that indicate why was removed. An instance of the cached entry that was removed. is . -or- is . Gets an instance of a cache entry that was removed from the cache. An instance of the class that was removed from the cache. Gets a value that indicates why a cache entry was removed. One of the enumeration values that indicates why the entry was removed. Gets a reference to the source instance that originally contained the removed cache entry. A reference to the cache that originally contained the removed cache entry. Defines a reference to a method that is called after a cache entry is removed from the cache. The information about the cache entry that was removed from the cache. Specifies the reason why a cache entry was removed or an entry is about to be removed. A cache entry was evicted for as reason that is defined by a particular cache implementation. A cache entry was removed because a related dependency (such as a file or another cache entry) triggered eviction of the cache entry. A cache entry was removed to free memory in the cache. This occurs when a cache instance approaches cache-specific memory limits, or when a process or cache instance approaches computer-wide memory limits. A cache entry was removed because it expired. Expiration can be based on an absolute time or on a sliding expiration time. A cache entry was removed by using the or method. Provides information about a cache entry that will be removed from the cache. Initializes a new instance of the class. The instance from which the cache entry referenced by will be removed. One of the enumeration values that indicate why the cache entry will be removed. The key of the cache entry that will be removed. The name of the region in the cache to remove the cache entry from. This parameter is optional. If cache regions are not defined, must be . is . Gets the unique identifier for a cache entry that is about to be removed. The unique identifier for the cache entry. Gets the name of a region in the cache that contains a cache entry. The name of a region in the cache. If regions are not used, this value is . Gets the reason that a cache entry is about to be removed from the cache. One of the enumeration values that describes why a cache entry is being removed. Gets a reference to the instance that contains a cache entry that is about to be removed. A reference to the cache instance. Gets or sets the value of entry that is used to update the cache object. The cache entry to update in the cache object. The default is . Gets or sets the cache eviction or expiration policy of the entry that is updated. The cache eviction or expiration policy of the cache item that was updated. The default is . Defines a reference to a method that is invoked when a cache entry is about to be removed from the cache. The information about the entry that is about to be removed from the cache. Represents an individual cache entry in the cache. Initializes a new instance using the specified key of a cache entry. A unique identifier for a entry. Initializes a new instance using the specified key and a value of the cache entry. A unique identifier for a entry. The data for a entry. Initializes a new instance using the specified key, value, and region of the cache entry. A unique identifier for a entry. The data for a entry. The name of a region in the cache that will contain the entry. Gets or sets a unique identifier for a instance. The identifier for a instance. Gets or sets the name of a region in the cache that contains a entry. The name of a region in a cache. The default is . Gets or sets the data for a instance. The data for a instance. The default is . Represents a set of eviction and expiration details for a specific cache entry. Initializes a new instance of the class. Gets or sets a value that indicates whether a cache entry should be evicted at a specified point in time. The point in time at which a cache entry is evicted. The default value is , meaning that the entry does not expire. Gets a collection of objects that are associated with a cache entry. A collection of change monitors. The default is an empty collection. Gets or sets a priority setting that is used to determine whether to evict a cache entry. One of the enumeration values that indicates the priority for eviction. The default priority value is , which means no priority. Gets or sets a reference to a delegate that is called after an entry is removed from the cache. A reference to a delegate that is called by a cache implementation. Gets or sets a value that indicates whether a cache entry should be evicted if it has not been accessed in a given span of time. A span of time within which a cache entry must be accessed before the cache entry is evicted from the cache. The default is , meaning that the item should not be expired based on a time span. Gets or sets a reference to a delegate that is called before a cache entry is removed from the cache. A reference to a delegate that is called by a cache implementation. Specifies a priority setting that is used to decide whether to evict a cache entry. Indicates that there is no priority for removing the cache entry. Indicates that a cache entry should never be removed from the cache. Provides a base class for a derived custom type that monitors changes in the state of the data which a cache item depends on. Initializes a new instance of the class. This constructor is called from constructors in derived classes to initialize the base class. Releases all resources that are used by the current instance of the class. Initialization is not complete in the derived change-monitor class that called the base method. Releases all managed and unmanaged resources and any references to the instance. This overload must be implemented by derived change-monitor classes. to release managed and unmanaged resources and any references to a instance; to release only unmanaged resources. When is passed, the method is called by a thread and any external managed references are likely no longer valid because they have already been garbage collected. Gets a value that indicates that the state that is monitored by the class has changed. if the state that is monitored by the instance has changed; otherwise, . Called from the constructor of derived classes to indicate that initialization is finished. Gets a value that indicates that the derived instance of a class is disposed. if the instance is disposed; otherwise, . Called by Cache implementers to register a callback and notify an instance through the delegate when a dependency has changed. A reference to a method that is invoked when a dependency has changed. The callback method has already been invoked. is . Called by derived classes to raise the event when a dependency changes. The data for the change event. This value can be . Gets a value that represents the class instance. The identifier for a change-monitor instance. Defines a configuration section for.NET Framework caching. This class cannot be inherited. Initializes a new instance of the class. Gets the collection of objects. The collection of cache-section objects. Defines an element that is used to configure a cache that is based on the class. This class cannot be inherited. Initializes a new instance of the class. The unique name for a specific cache configuration. Gets or sets the maximum memory size, in megabytes, that an instance of a object can grow to. The amount of maximum memory size, in megabytes. The default is zero, which indicates that instances manage their own memory based on the amount of memory that is installed on the computer. Gets or sets the name of a particular cache configuration. The name of a cache configuration. Gets or sets the percentage of server memory that can be used by the cache. The percentage of physical memory that the cache can use, expressed as an integer value from 1 to 100. The default is zero, which indicates that instances manage their own memory based on the amount of memory that is installed on the computer. Gets or sets a value that indicates the time interval after which the cache implementation compares the current memory load against the absolute and percentage-based memory limits that are set for the cache instance. The time interval after which the cache implementation compares the current memory load against the absolute and percentage-based memory limits that are set for the cache instance. The default is two minutes. Defines a configuration section for a cache based on the class. This class cannot be inherited. Initializes a new instance of the class. Gets the collection of configuration settings for the named instances. A collection of settings for each named cache. Represents a collection of elements. This class cannot be inherited. Initializes a new instance of the class. Adds the specified cache configuration element to the collection. The memory cache configuration element to add. Clears all elements from the collection. Gets the type of the configuration collection. The type of the collection. Gets the index of the specified cache configuration element in the collection. The cache configuration element to get the index for. The index of the memory cache configuration element. Gets the item that has the specified index. The zero-based index of the item in the collection. The element at the specified index. Gets the item that has the specified key. A unique identifier for the item. The item that is specified by the key. Removes the specified cache configuration element from the class. The memory cache configuration element to remove. Removes the cache configuration element at the specified location in the class. The zero-based index at which to remove the memory cache configuration element. Represents a set of features that a cache implementation provides. A cache implementation supports the ability to automatically remove cache entries at a specific date and time. A cache implementation supports the ability to create change monitors that monitor entries. A cache implementation can raise a notification that an entry has been removed from the cache. A cache implementation can raise a notification that an entry is about to be removed from the cache. This setting also indicates that a cache implementation supports the ability to automatically replace the entry that is being removed with a new cache entry. A cache implementation supports the ability to partition its storage into cache regions, and supports the ability to insert cache entries into those regions and to retrieve cache entries from those regions. A cache implementation runs at least partially in memory. A distributed cache would not set this flag, whereas an in-memory cache such as the class would do so. A cache implementation does not provide any of the features that are described in the enumeration. A cache implementation runs out-of-process. A distributed cache would set this flag, whereas an in-memory cache such as the class would not. A cache implementation supports the ability to automatically remove cache entries that have not been accessed in a specified time span. Represents an object that monitors changes to files. Initializes a new instance of the class. This constructor is called from constructors in derived classes in order to initialize the base class. Gets a collection that contains the paths of files that are monitored for changes. A collection of file paths. Gets a value that indicates the last time that a file that is being monitored was changed. If multiple files are monitored, the last modified time of the most recently modified file; otherwise, the last time that the file that is being monitored was changed. Monitors directories and file paths and notifies the cache of changes to the monitored items. This class cannot be inherited. Initializes a new instance of the class. A list that contains one or more directory paths or file paths to monitor. is . contains zero items. -or- A path in the list is or an empty string. Gets the collection of directories and file paths that was passed to the constructor. A collection of directories and file paths. Gets a read-only value that indicates the last write time of a monitored file or path. The last write time of a monitored file or path. Gets an identifier for the instance that is based on the set of monitored directories and file paths. An identifier for the change monitor. Defines an identifier for application domains that a cache implementation can use to interact with a host environment. Gets an identifier for an application domain. A unique identifier for the current application domain. Defines a way to expose a custom object to a cache implementation. Registers a file path to monitor with the host environment. The fully qualified physical path of a directory or file to monitor for changes. A reference to a method that implements the delegate. When the monitored file or directory changes, the host environment's implementation of the interface raises an event by calling the class. The state that is supplied by the host environment. Cache implementations and custom change monitors should treat the state value as opaque. However, the state must be stored so that it can be sent to the host environment when the cache implementation calls the method. When this method returns, contains the last date and time that a write operation occurred on . This parameter is passed uninitialized. This parameter is returned from the host environment. When this method returns, contains the total size of the monitored . This parameter is passed uninitialized. This parameter is returned from the host environment. Ends change monitoring. The path of the file or folder to stop monitoring. This should match a file path value that was passed in an earlier call to the method. The state information that was originally supplied by the host environment during an earlier call to the method. Defines an interface that a cache uses in order to communicate cache memory usage to a host environment. Removes all references to a cache in the host environment. A reference to the cache. Reports the size of the current cache. The size of the memory, in bytes, that the cache consumes. A reference to the cache. Represents the type that implements an in-memory cache. Initializes a new instance of the class. The name to use to look up configuration information. Note It is not required for configuration information to exist for every name. If a matching configuration entry exists, the configuration information is used to configure the instance. If a matching configuration entry does not exist, the name can be accessed through the property, because the specified name is associated with the instance. For information about memory cache configuration, see . A collection of name/value pairs of configuration information to use for configuring the cache. is . A name or value in the parameter could not be parsed. A value in the collection is invalid. Initializes a new instance of the class. The name to use to look up configuration information. A collection of name/value pairs of configuration information to use for configuring the cache. Indicates whether the configuration section should be ignored. Inserts a cache entry into the cache as a instance, and adds details about how the entry should be evicted. The object to add. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as item. Adds a cache entry into the cache using the specified instance and details about how to evict the entry. The object to add. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. If a cache entry with the same key exists, the existing cache entry; otherwise, . The property is . Both the absolute and sliding expiration values for the object are set to values other than the defaults of and fields. The class cannot set expiration policy based on a combination of an absolute expiration and a sliding expiration. Only one expiration setting can be explicitly set when you use the instance. The other expiration setting must be set to field or field. The property is set to a value less than . -or- The property is set to a value greater than one year. -or- The property is not a value of the enumeration. Adds a cache entry into the cache using the specified key and a value and an absolute expiration value. A unique identifier for the cache entry to add. The data for the cache entry. The fixed date and time at which the cache entry will expire. A named region in the cache to which a cache entry can be added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. If a cache entry with the same key exists, the existing cache entry; otherwise, . is not . is not . Both the absolute and sliding expiration values for the object are set to values other than the defaults of and fields. The class cannot set expiration policy based on a combination of an absolute expiration and a sliding expiration. Only one expiration setting can be explicitly set when you use the instance. The other expiration setting must be set to or The property is set to a value less than . -or- The property is set to a value greater than one year. -or- The property is not a value of the enumeration. Inserts a cache entry into the cache using the specified key and value and the specified details for how it is to be evicted. A unique identifier for the cache entry to add or get. The data for the cache entry. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. A named region in the cache to which a cache entry can be added. Do not pass a value for this parameter. By default, this parameter is , because the class does not implement regions. If a matching cache entry already exists, a cache entry; otherwise, . is . Both the absolute and sliding expiration values of object are set to values other than the defaults of and . The class cannot set expiration policy based on a combination of both an absolute and a sliding expiration. Only one expiration setting can be explicitly set when you use the class. The other setting must be set to or . -or- Both the removal callback and the update callback have been specified for . The only supports using one type of callback per cache entry. The property is set to a value less than . -or- The has been set to a value greater than one year. -or- The property is not a value of the enumeration. Gets the amount of memory on the computer, in bytes, that can be used by the cache. The amount of memory in bytes. Determines whether a cache entry exists in the cache. A unique identifier for the cache entry to search for. A named region in the cache to which a cache entry was added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. if the cache contains a cache entry whose key matches ; otherwise, . is . is not . Creates a object that can trigger events in response to changes to specified cache entries. An enumeration of unique cache entry keys for the object. A named region in the cache to which a cache entry can be added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. A change monitor that monitors entries in the cache. is not . is . An item in the collection is . Gets a reference to the default instance. The default instance of the cache. Gets a description of the features that the cache provides. A bitwise combination of flags that indicate the default capabilities of the cache implementation. Releases all resources that are used by the current instance of the class. Returns an entry from the cache. A unique identifier for the cache entry to get. A named region in the cache to which a cache entry was added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. A reference to the cache entry that is identified by , if the entry exists; otherwise, . is not . is . Returns the specified entry from the cache as a instance. A unique identifier for the cache entry to get. A named region in the cache to which a cache entry was added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. A reference to the cache entry identified by if the entry exists; otherwise, . is not . is . Returns the total number of cache entries in the cache. A named region in the cache to which a cache entry was added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. The number of entries in the cache. is not . Creates an enumerator that can be used to iterate through a collection of cache entries. The enumerator object that provides access to the items in the cache. Gets the size of the named region. The name of the region. The size of the named region. Returns a set of cache entries that correspond to the specified keys. A set of unique identifiers for the cache entries to return. A named region in the cache to which a cache entry was added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. A set of cache entries that correspond to the specified keys. is not . is . An individual key in the collection is . Gets or sets a value in the cache by using the default indexer property for an instance of the class. A unique identifier for the cache value to get or set. The value in the cache instance for the specified key, if the entry exists; otherwise, . is . -or- The inserted value is . Gets the name of the cache. The name of the cache. Gets the percentage of physical memory that the cache can use. The percentage of physical memory that the cache can use. Gets the maximum time after which the cache updates its memory statistics. The maximum time that can occur before memory statistics are updated. Removes a cache entry from the cache using the reason. A unique identifier for the cache entry to remove. The reason the item was removed. A named region in the cache to which a cache entry was added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. If the entry is found in the cache, the removed cache entry; otherwise, . Removes a cache entry from the cache. A unique identifier for the cache entry to remove. A named region in the cache to which a cache entry was added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. If the entry is found in the cache, the removed cache entry; otherwise, . is not . is . Inserts a cache entry into the cache by using a instance to supply the key and value for the cache entry. An object that represents a cache entry to insert. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. is . -or- The property is . -or- The property is . An invalid combination of arguments for the cache entry was passed. This occurs if the following expiration details are set on the policy object for the cache entry: If both the absolute and sliding expiration values of the object are set to values other than the defaults of and fields. The class cannot set expiration policy based on both an absolute expiration and a sliding expiration. Only one expiration setting can be explicitly set when you use the class. The other setting must be set to or property. If both the removal callback and the update callback are specified for object. The class only supports using one type of callback per cache entry. The property is set to a value less than . -or- The property is set to a value greater than one year. -or- The is not a value of the enumeration. Inserts a cache entry into the cache by using a key and a value and specifies time-based expiration details. A unique identifier for the cache entry to insert. The data for the cache entry. The fixed date and time at which the cache entry will expire. A named region in the cache to which a cache entry can be added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. is not . is . -or- is . An invalid combination of arguments for the cache entry was passed. This occurs if the following expiration details are set on the policy object for the cache entry: If both the absolute and sliding expiration values on object are set to values other than the defaults of and . This occurs because the class does not support expiring entries based on both an absolute and a sliding expiration. Only one expiration setting can be explicitly set when you use the class. The other setting must be set to or . If both the removal callback and the update callback are specified on object. The class only supports using one type of callback per cache entry. The property is set to a value less than . -or- The property is set to a value greater than one year. -or- The property is not a value of the enumeration. Inserts a cache entry into the cache by using a key and a value and eviction. A unique identifier for the cache entry to insert. The data for the cache entry. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. A named region in the cache to which a cache entry can be added. Do not pass a value for this parameter. This parameter is by default, because the class does not implement regions. is . -or- is -or- The callback reference that was passed to the helper method in the property is . An invalid combination of arguments for the cache entry exists. This occurs if the following expiration details are set on the policy object for the cache entry: If both the absolute and sliding expiration values on object are set to values other than the defaults of and . This is because the class does not support expiring entries based on both an absolute and a sliding expiration. Only one expiration setting can be explicitly set when you use the class. The other setting must be set to or . If both the removal callback and the update callback are specified on class. The class only supports using one type of callback per cache entry. The property is set to a value less than . -or- The property is set to a value greater than one year. -or- The property is not a value of the enumeration. is not . Provides support for iteration over a generic collection. The enumerator object that provides access to the entries in the cache. Removes a specified percentage of cache entries from the cache object. The percentage of total cache entries to remove. The number of entries removed from the cache. Represents an object cache and provides the base methods and properties for accessing the object cache. Called from constructors in derived classes in order to initialize the class. When overridden in a derived class, tries to insert a cache entry into the cache as a instance, and adds details about how the entry should be evicted. The object to add. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. if insertion succeeded, or if there is an already an entry in the cache that has the same key as . When overridden in a derived class, inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. The fixed date and time at which the cache entry will expire. This parameter is required when the method is called. Optional. A named region in the cache to which the cache entry can be added, if regions are implemented. Because regions are not implemented in .NET Framework 4, the default value is . if insertion succeeded, or if there is an already an entry in the cache that has the same key as . When overridden in a derived class, inserts a cache entry into the cache, specifying information about how the entry will be evicted. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. Optional. A named region in the cache to which the cache entry can be added, if regions are implemented. The default value for the optional parameter is . if the insertion try succeeds, or if there is an already an entry in the cache with the same key as . When overridden in a derived class, inserts the specified object into the cache, specifying information about how the entry will be evicted. The object to insert. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. If a cache entry with the same key exists, the specified cache entry; otherwise, . When overridden in a derived class, inserts a cache entry into the cache, by using a key, an object for the cache entry, an absolute expiration value, and an optional region to add the cache into. A unique identifier for the cache entry. The object to insert. The fixed date and time at which the cache entry will expire. Optional. A named region in the cache to which the cache entry can be added, if regions are implemented. The default value for the optional parameter is . If a cache entry with the same key exists, the specified cache entry's value; otherwise, . When overridden in a derived class, inserts a cache entry into the cache, specifying a key and a value for the cache entry, and information about how the entry will be evicted. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. Optional. A named region in the cache to which the cache entry can be added, if regions are implemented. The default value for the optional parameter is . If a cache entry with the same key exists, the specified cache entry's value; otherwise, . When overridden in a derived class, checks whether the cache entry already exists in the cache. A unique identifier for the cache entry. Optional. A named region in the cache where the cache can be found, if regions are implemented. The default value for the optional parameter is . if the cache contains a cache entry with the same key value as ; otherwise, . When overridden in a derived class, creates a object that can trigger events in response to changes to specified cache entries. The unique identifiers for cache entries to monitor. Optional. A named region in the cache where the cache keys in the parameter exist, if regions are implemented. The default value for the optional parameter is . A change monitor that monitors cache entries in the cache. When overridden in a derived class, gets a description of the features that a cache implementation provides. A bitwise combination of flags that indicate the default capabilities of a cache implementation. When overridden in a derived class, gets the specified cache entry from the cache as an object. A unique identifier for the cache entry to get. Optional. A named region in the cache to which the cache entry was added, if regions are implemented. The default value for the optional parameter is . The cache entry that is identified by . When overridden in a derived class, gets the specified cache entry from the cache as a instance. A unique identifier for the cache entry to get. Optional. A named region in the cache to which the cache was added, if regions are implemented. Because regions are not implemented in .NET Framework 4, the default is . The cache entry that is identified by . When overridden in a derived class, gets the total number of cache entries in the cache. Optional. A named region in the cache for which the cache entry count should be computed, if regions are implemented. The default value for the optional parameter is . The number of cache entries in the cache. If is not , the count indicates the number of entries that are in the specified cache region. When overridden in a derived class, creates an enumerator that can be used to iterate through a collection of cache entries. The enumerator object that provides access to the cache entries in the cache. When overridden in a derived class, gets a set of cache entries that correspond to the specified keys. A collection of unique identifiers for the cache entries to get. Optional. A named region in the cache to which the cache entry or entries were added, if regions are implemented. The default value for the optional parameter is . A dictionary of key/value pairs that represent cache entries. Gets a set of cache entries that correspond to the specified keys. Optional. A named region in the cache to which the cache entry or entries were added, if regions are implemented. Because regions are not implemented in .NET Framework 4, the default is . A collection of unique identifiers for the cache entries to get. A dictionary of key/value pairs that represent cache entries. Gets or sets a reference to a managed hosting environment that is available to implementations and that can provide host-specific services to implementations. A reference to a cache-aware managed hosting environment. The value being assigned to the property is . An attempt was made to set the property value more than one time. Gets a value that indicates that a cache entry has no absolute expiration. Gets or sets the default indexer for the class. A unique identifier for a cache entry in the cache. A key that serves as an indexer into the cache instance. Gets the name of a specific instance. The name of a specific cache instance. Indicates that a cache entry has no sliding expiration time. When overridden in a derived class, removes the cache entry from the cache. A unique identifier for the cache entry. Optional. A named region in the cache to which the cache entry was added, if regions are implemented. The default value for the optional parameter is . An object that represents the value of the removed cache entry that was specified by the key, or if the specified entry was not found. When overridden in a derived class, inserts the cache entry into the cache as a instance, specifying information about how the entry will be evicted. The cache item to add. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. When overridden in a derived class, inserts a cache entry into the cache, specifying time-based expiration details. A unique identifier for the cache entry. The object to insert. The fixed date and time at which the cache entry will expire. Optional. A named region in the cache to which the cache entry can be added, if regions are implemented. The default value for the optional parameter is . When overridden in a derived class, inserts a cache entry into the cache. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration. Optional. A named region in the cache to which the cache entry can be added, if regions are implemented. The default value for the optional parameter is . Supports iteration over a strongly typed collection. The enumerator object that provides access to the cache entries in the cache. Supports iteration over a generic collection. The enumerator object that provides access to the items in the cache. Defines a reference to a method that handles changes to monitored items. The state of the dependent object that was changed. Provides change monitoring for SQL Server databases. This class cannot be inherited. Initializes a new instance of the class. An object that represents an ADO.NET object. is . Gets an identifier for a instance. An identifier for the change monitor.