Share via


QueueInner.DefaultMessageTimeToLive Property

Definition

Gets or sets the default message time to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. Format is 'DD.HH:MM:SS' and default value of this property is 10675199 days. The service accepts a C# Standard TimeSpan Format for loc duration 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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to