Dela via


SBSubscription.DefaultMessageTimeToLive Property

Definition

Gets or sets ISO 8061 Default message timespan 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.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to