PostSharp6.4/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Profile Class/Caching­Profile Properties/Caching­Profile.​Acquire­Lock­Timeout Property

CachingProfile.AcquireLockTimeout Property

Gets or sets the maximum time that the caching aspect will wait for the LockManager to acquire a lock. To specify an infinite waiting time, set this property to TimeSpan.FromMilliseconds( -1 ). The default behavior is to wait infinitely.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public TimeSpan AcquireLockTimeout { get; set; }

Property Value

Type: TimeSpan
See Also