System.Web.Caching.CacheDependency Members

The members of System.Web.Caching.CacheDependency are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Web.Caching.CacheDependency class.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors a file or directory for changes.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors an array of paths (to files or directories) for changes.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors a file or directory for changes.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors an array of paths (to files or directories) for changes and specifies a time when change monitoring begins.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors an array of paths (to files or directories), an array of cache keys, or both for changes.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors an array of paths (to files or directories), an array of cache keys, or both for changes.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors an array of paths (to files or directories), an array of cache keys, or both for changes. It also makes itself dependent upon a separate instance of the System.Web.Caching.CacheDependency class.

Initializes a new instance of the System.Web.Caching.CacheDependency class that monitors an array of paths (to files or directories), an array of cache keys, or both for changes. It also makes itself dependent upon another instance of the System.Web.Caching.CacheDependency class and a time when the change monitoring begins.

Public Properties

[read-only]
HasChangedbool.

Gets a value indicating whether the System.Web.Caching.CacheDependency object has changed.

[read-only]
UtcLastModifiedDateTime.

Gets the time when the dependency was last changed.

Public Methods

Dispose()

Releases the resources used by the System.Web.Caching.CacheDependency object.

GetUniqueID() : string

Retrieves a unique identifier for a System.Web.Caching.CacheDependency object.

Protected Methods

DependencyDispose()

Releases the resources used by the System.Web.Caching.CacheDependency class and any classes that derive from System.Web.Caching.CacheDependency.

FinishInit()

Completes initialization of the System.Web.Caching.CacheDependency object.

NotifyDependencyChanged(object, EventArgs)

Notifies the base System.Web.Caching.CacheDependency object that the dependency represented by a derived System.Web.Caching.CacheDependency class has changed.

SetUtcLastModified(DateTime)

Marks the time when a dependency last changed.