ActorConcurrencySettings.LockTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the timeout for the turn based concurrency lock. If the runtime cannot acquire the lock to dispatch the method call, it will throw the ActorConcurrencyLockTimeoutException exception. This exception will unwind the logical call chain and the call will retried up to a configured maximum amount of times.
public TimeSpan LockTimeout { get; set; }
member this.LockTimeout : TimeSpan with get, set
Public Property LockTimeout As TimeSpan
Property Value
Timeout for the turn based concurrency lock. This can be set to InfiniteTimeSpan to specify waiting forever.
Remarks
The actual timeout value for the concurrency lock can be higher as the runtime will add a random interval to the supplied value.