你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CreateQueueOptions.LockDuration Property

Definition

Duration of a peek lock receive. i.e., the amount of time that the message is locked by a given receiver so that no other receiver receives the same message.

public TimeSpan LockDuration { get; set; }
member this.LockDuration : TimeSpan with get, set
Public Property LockDuration As TimeSpan

Property Value

Remarks

Max value is 5 minutes. Default value is 60 seconds.

Applies to