/// <summary> /// Adds the topic to current PublisherClient publish list. /// </summary> /// <param name="topicName">Name of the topic.</param> /// <returns>Current PublisherClient.</returns> public PublisherClient AddTopic(string topicName) { this.CheckDisposed(); ServiceBusManager.LinkPublisherTopic(this.Name, topicName); return(this); }
/// <summary> /// Adds the publisher. /// </summary> /// <param name="publisherName">Name of the publisher.</param> /// <returns>Current Topic.</returns> public Topic AddPublisher(string publisherName) { this.CheckDisposed(); ServiceBusManager.LinkPublisherTopic(publisherName, this.Name); return(this); }