This documentation is archived and is not being maintained.
CacheDependency Members
Visual Studio 2008
Establishes a dependency relationship between an item stored in an ASP.NET application's Cache object and a file, cache key, an array of either, or another CacheDependency object. The CacheDependency class monitors the dependency relationships so that when any of them changes, the cached item will be automatically removed.
The CacheDependency type exposes the following members.
| Name | Description | |
|---|---|---|
|
CacheDependency | Overloaded. Initializes a new instance of the CacheDependency class. |
| Name | Description | |
|---|---|---|
|
DependencyDispose | Releases the resources used by the CacheDependency class and any classes that derive from CacheDependency. |
|
Dispose | Releases the resources used by the CacheDependency object. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FinishInit | Completes initialization of the CacheDependency object. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
GetUniqueID | Retrieves a unique identifier for a CacheDependency object. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
NotifyDependencyChanged | Notifies the base CacheDependency object that the dependency represented by a derived CacheDependency class has changed. |
|
SetUtcLastModified | Marks the time when a dependency last changed. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
HasChanged | Gets a value indicating whether the CacheDependency object has changed. |
|
UtcLastModified | Gets the time when the dependency was last changed. |
Show: