Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
TopicClient can be used for all basic interactions with a Service Bus topic.
public interface ITopicClient : Microsoft.Azure.ServiceBus.Core.ISenderClient
type ITopicClient = interface interface ISenderClient interface IClientEntity
Public Interface ITopicClient Implements ISenderClient
Create a new TopicClient
ITopicClient topicClient = new TopicClient( namespaceConnectionString, topicName, RetryExponential);
Send a message to the topic:
byte data = GetData(); await topicClient.SendAsync(data);
Gets the ID to identify this client. This can be used to correlate logs and exceptions.(Inherited from IClientEntity)
Returns true if the client is closed or closing.(Inherited from IClientEntity)
Duration after which individual operations will timeout.(Inherited from IClientEntity)
Returns true if connection is owned and false if connection is shared.(Inherited from IClientEntity)
Gets the entity path.(Inherited from IClientEntity)
Gets a list of currently registered plugins for this client.(Inherited from IClientEntity)
Connection object to the service bus namespace.(Inherited from IClientEntity)
Gets the name of the topic.
Cancels a message that was scheduled.(Inherited from ISenderClient)
Closes the Client. Closes the connections opened by it.(Inherited from IClientEntity)
Registers a ServiceBusPlugin to be used with this client.(Inherited from IClientEntity)
Schedules a message to appear on Service Bus.(Inherited from ISenderClient)
Sends a list of messages to Service Bus. When called on partitioned entities, messages meant for different partitions cannot be batched together.(Inherited from ISenderClient)
Sends a message to Service Bus.(Inherited from ISenderClient)
Unregisters a ServiceBusPlugin.(Inherited from IClientEntity)