Queue.DefaultMessageTimeToLive Property

Gets the default message time to live of a queue.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)


Public Property DefaultMessageTimeToLive As Nullable(Of TimeSpan)
    Private Set
Dim instance As Queue
Dim value As Nullable(Of TimeSpan)

value = instance.DefaultMessageTimeToLive
public Nullable<TimeSpan> DefaultMessageTimeToLive { get; private set; }
property Nullable<TimeSpan> DefaultMessageTimeToLive {
    Nullable<TimeSpan> get ();
    private: void set (Nullable<TimeSpan> value);
member DefaultMessageTimeToLive : Nullable<TimeSpan> with get, private set
function get DefaultMessageTimeToLive () : Nullable<TimeSpan>
private function set DefaultMessageTimeToLive (value : Nullable<TimeSpan>)

Property Value

Type: System.Nullable<TimeSpan>
A nullable TimeSpan value.

See Also


Queue Class

Microsoft.ServiceBus.Messaging Namespace