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[] 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