Gets or sets the TimeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
member AutoDeleteOnIdle : TimeSpan with get, set
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);