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

Namespace: Alachisoft.NCache.Runtime.Dependencies
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.1.0.0 (4.1.0.0)

Syntax

C#
public KeyDependency(
	string key,
	DateTime startAfter
)
Visual Basic
Public Sub New ( _
	key As String, _
	startAfter As DateTime _
)
Visual C++
public:
KeyDependency(
	String^ key, 
	DateTime startAfter
)

Parameters

key
Type: System..::..String
startAfter
Type: System..::..DateTime

See Also