SALES: 1-800-867-1380

EventHubSender Class

A client class used in send operations for an Event Hub. Represents a logical sender connection to a specific Event Hub partition.

System.Object
  Microsoft.ServiceBus.Messaging.ClientEntity
    Microsoft.ServiceBus.Messaging.EventHubSender

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public sealed class EventHubSender : ClientEntity

The EventHubSender type exposes the following members.

  NameDescription
Public propertyIsClosed (Inherited from ClientEntity.)
Public propertyPartitionIdGets the partition ID for a logical partition of an Event Hub.
Public propertyPathGets the path of the Event Hub.
Public propertyRetryPolicy (Inherited from ClientEntity.)
Top

  NameDescription
Public methodAbortPerforms abort functionality on the messaging entity. (Inherited from ClientEntity.)
Public methodCloseSends a cleanup message to Service Bus to signal the completion of the usage of an entity. (Inherited from ClientEntity.)
Public methodCloseAsyncSends a cleanup message asynchronously to Service Bus to signal the completion of the usage of an entity. (Inherited from ClientEntity.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSendSends event data to the logical partition represented by EventHubSender.PartitionId.
Public methodSendAsyncAsynchronous version of Send(EventData).
Public methodSendBatchSends a batch of event data to the logical partition represented by PartitionId.
Public methodSendBatchAsyncAsynchronously sends a batch of event data to the logical partition represented by PartitionId.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft