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

QueueInner.DefaultMessageTimeToLive 属性

定义

获取或设置默认消息生存时间值。 这是消息过期的持续时间,从消息发送到服务总线时开始。 这是未在消息本身上设置 TimeToLive 时使用的默认值。 格式为“DD.HH:MM:SS”,此属性的默认值为10675199天。 该服务接受 C# 标准 TimeSpan 格式的定位持续时间 https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx

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

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于