PostSharpAPI ReferencePost­Sharp.​Patterns.​CachingCaching­ProfileAcquire­Lock­Timeout
Open sandboxFocus

CachingProfile.AcquireLockTimeout Property

AcquireLockTimeout

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.

Declaration
public TimeSpan AcquireLockTimeout { get; set; }
Property Value
Type Description
System.TimeSpan