CacheDependency Members
.NET Framework 2.0
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 following tables list the members exposed by the CacheDependency type.
(see also
Protected Constructors
)
Top
| Name | Description | |
|---|---|---|
| CacheDependency | Overloaded. Initializes a new instance of the CacheDependency class. |
| Name | Description | |
|---|---|---|
| CacheDependency | Overloaded. Initializes a new instance of the CacheDependency class. |
| Name | Description | |
|---|---|---|
| HasChanged | Gets a value indicating whether the CacheDependency object has changed. |
| UtcLastModified | Gets the time when the dependency was last changed. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Dispose | Releases the resources used by the CacheDependency object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from 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. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| DependencyDispose | Releases the resources used by the CacheDependency class and any classes that derive from CacheDependency. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| FinishInit | Completes initialization of the 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. |
Reference
CacheDependency ClassSystem.Web.Caching Namespace
Cache
Insert
Other Resources
Caching Application DataCommunity Additions
ADD
Show: