Aracılığıyla paylaş


ActorConcurrencySettings.LockTimeout Property

Definition

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.

Applies to