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

QueueInner.LockDuration 属性

定义

获取或设置速览锁的持续时间;也就是说,消息为其他接收方锁定的时间量。 LockDuration 的最大值为 5 分钟;默认值为 1 分钟。 该服务接受 C# 标准 TimeSpan 格式的定位持续时间 https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx

[Newtonsoft.Json.JsonProperty(PropertyName="properties.lockDuration")]
public string LockDuration { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.lockDuration")>]
member this.LockDuration : string with get, set
Public Property LockDuration As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于