This topic has not yet been rated - Rate this topic

TopicDescription.AutoDeleteOnIdle Property

Gets or sets the TimeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public TimeSpan AutoDeleteOnIdle { get; set; }

Property Value

Type: System.TimeSpan
The auto delete on idle time span for the topic.

The topic is deleted if no send operation is performed for this topic, and no receive operation is performed for any subscriptions to the topic, for the duration specified in the AutoDeleteOnIdle property.

TopicDescription topicDescription = new TopicDescription("myTopic");
topicDescription.AutoDeleteOnIdle = TimeSpan.FromMinutes(30);
namespaceManager.CreateTopic(topicDescription);
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter