A client class used in send operations for an Event Hub. Represents a logical sender connection to a specific Event Hub partition.
public sealed class EventHubSender : Microsoft.ServiceBus.Messaging.ClientEntity
Gets the partition ID for a logical partition of an Event Hub.
Gets the path of the Event Hub.
Creates a batch where event data objects can be added for later SendBatch or SendBatchAsync call.
Creates a new instance of EventHubSender using the supplied connection string. Intended to be used to send using a ConnectionString with SharedAcessSignature and Publisher.
Sends event data to the logical partition represented by PartitionId.
Asynchronous version of Send(EventData).
Sends a batch of event data to the logical partition represented by PartitionId.
Asynchronously sends a batch of event data to the logical partition represented by PartitionId.