Share via


Topic.DefaultMessageTimeToLive Property

Gets the default message time to live in a topic.

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

Syntax

'Declaration
Public Property DefaultMessageTimeToLive As Nullable(Of TimeSpan)
    Get
    Private Set
'Usage
Dim instance As Topic
Dim value As Nullable(Of TimeSpan)

value = instance.DefaultMessageTimeToLive
public Nullable<TimeSpan> DefaultMessageTimeToLive { get; private set; }
public:
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

Reference

Topic Class

Microsoft.ServiceBus.Messaging Namespace