Gets or sets the behavior in case that the caching aspect could not acquire a lock because of a timeout.
The default behavior is to throw a TimeoutException
. You can implement your own strategy by implementing
interface. If the OnTimeout(String)
does not return
any exception, the cached method will be evaluated (even without a lock).
PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 18.104.22.168 (22.214.171.124)
Syntax See Also