FileCache AccessTimeout Property Nemiro.Data.dll
Waiting time gain access to the file of cache entry. After this time, if the file entry are not available, an exception is thrown.

Namespace: Nemiro.Data.Caching
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public TimeSpan AccessTimeout { get; set; }

Property Value

Type: TimeSpan
Default value is Zero.
Remarks

Minimal 100 milliseconds.

At the time of waiting, the current thread can be blocked for 100 milliseconds.

Examples

var fileCache = new Nemiro.Data.Caching.FileCache();
fileCache.AccessTimeout = new TimeSpan(0, 0, 3); // 3 seconds
See Also