Open sandboxFocus

Property AcquireLockTimeout

AcquireLockTimeout

Gets or sets the maximum time that the caching aspect will wait for the LockingStrategy 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; init; }
Property Value
Type Description
TimeSpan