internal SubscriptionDescription(string topicPath, string subscriptionName, SubscriptionDescriptionXml xml) { this.xml = xml; if (null != xml) { this.xml.TopicPath = topicPath; this.xml.Name = subscriptionName; } }
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.ServiceBus.Messaging.SubscriptionDescription" /> class.</summary> /// <param name="topicPath">The topic name.</param> /// <param name="subscriptionName">The subscription name.</param> public SubscriptionDescription(string topicPath, string subscriptionName) { this.xml = new SubscriptionDescriptionXml(topicPath, subscriptionName); }