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.3.0.0 (4.3.0.0)

Syntax

C#
public KeyDependency(
	string[] keys,
	DateTime startAfter
)
Visual Basic
Public Sub New ( 
	keys As String(),
	startAfter As DateTime
)
Visual C++
public:
KeyDependency(
	array<String^>^ keys, 
	DateTime startAfter
)

Parameters

keys
Type: array<System..::..String>[]()[][]
startAfter
Type: System..::..DateTime

See Also