EventHubSender EventHubSender EventHubSender EventHubSender EventHubSender EventHubSender Class

Definition

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

public ref class EventHubSender sealed : Microsoft::ServiceBus::Messaging::ClientEntity
public ref class EventHubSender sealed : Microsoft::ServiceBus::Messaging::ClientEntity
class EventHubSender sealed : Microsoft::ServiceBus::Messaging::ClientEntity
public sealed class EventHubSender : Microsoft.ServiceBus.Messaging.ClientEntity
type EventHubSender = class
    inherit ClientEntity
Public NotInheritable Class EventHubSender
Inherits ClientEntity
Inheritance
EventHubSenderEventHubSenderEventHubSenderEventHubSenderEventHubSenderEventHubSender

Properties

IsClosed IsClosed IsClosed IsClosed IsClosed IsClosed Inherited from ClientEntity
PartitionId PartitionId PartitionId PartitionId PartitionId PartitionId

Gets the partition ID for a logical partition of an Event Hub.

Path Path Path Path Path Path

Gets the path of the Event Hub.

RetryPolicy RetryPolicy RetryPolicy RetryPolicy RetryPolicy RetryPolicy Inherited from ClientEntity
ThisLock ThisLock ThisLock ThisLock ThisLock ThisLock Inherited from ClientEntity

Methods

Abort() Abort() Abort() Abort() Abort() Abort()

Performs abort functionality on the messaging entity.

(Inherited from ClientEntity)
Close() Close() Close() Close() Close() Close()

Sends a cleanup message to Service Bus to signal the completion of the usage of an entity.

(Inherited from ClientEntity)
CloseAsync() CloseAsync() CloseAsync() CloseAsync() CloseAsync() CloseAsync()

Sends a cleanup message asynchronously to Service Bus to signal the completion of the usage of an entity.

(Inherited from ClientEntity)
CreateBatch() CreateBatch() CreateBatch() CreateBatch() CreateBatch() CreateBatch()

Creates a batch where event data objects can be added for later SendBatch or SendBatchAsync call.

CreateFromConnectionString(String) CreateFromConnectionString(String) CreateFromConnectionString(String) CreateFromConnectionString(String) CreateFromConnectionString(String) CreateFromConnectionString(String)

Creates a new instance of EventHubSender using the supplied connection string. Intended to be used to send using a ConnectionString with SharedAcessSignature and Publisher.

Fault() Fault() Fault() Fault() Fault() Fault()

For internal use only. Do not inherit from this class.

(Inherited from ClientEntity)
OnAbort() OnAbort() OnAbort() OnAbort() OnAbort() OnAbort() Inherited from ClientEntity
OnBeginClose(TimeSpan, AsyncCallback, Object) OnBeginClose(TimeSpan, AsyncCallback, Object) OnBeginClose(TimeSpan, AsyncCallback, Object) OnBeginClose(TimeSpan, AsyncCallback, Object) OnBeginClose(TimeSpan, AsyncCallback, Object) OnBeginClose(TimeSpan, AsyncCallback, Object) Inherited from ClientEntity
OnBeginOpen(TimeSpan, AsyncCallback, Object) OnBeginOpen(TimeSpan, AsyncCallback, Object) OnBeginOpen(TimeSpan, AsyncCallback, Object) OnBeginOpen(TimeSpan, AsyncCallback, Object) OnBeginOpen(TimeSpan, AsyncCallback, Object) OnBeginOpen(TimeSpan, AsyncCallback, Object) Inherited from ClientEntity
OnClose(TimeSpan) OnClose(TimeSpan) OnClose(TimeSpan) OnClose(TimeSpan) OnClose(TimeSpan) OnClose(TimeSpan) Inherited from ClientEntity
OnClosed() OnClosed() OnClosed() OnClosed() OnClosed() OnClosed() Inherited from ClientEntity
OnEndClose(IAsyncResult) OnEndClose(IAsyncResult) OnEndClose(IAsyncResult) OnEndClose(IAsyncResult) OnEndClose(IAsyncResult) OnEndClose(IAsyncResult) Inherited from ClientEntity
OnEndOpen(IAsyncResult) OnEndOpen(IAsyncResult) OnEndOpen(IAsyncResult) OnEndOpen(IAsyncResult) OnEndOpen(IAsyncResult) OnEndOpen(IAsyncResult) Inherited from ClientEntity
OnFaulted() OnFaulted() OnFaulted() OnFaulted() OnFaulted() OnFaulted() Inherited from ClientEntity
OnOpen(TimeSpan) OnOpen(TimeSpan) OnOpen(TimeSpan) OnOpen(TimeSpan) OnOpen(TimeSpan) OnOpen(TimeSpan) Inherited from ClientEntity
OnOpened() OnOpened() OnOpened() OnOpened() OnOpened() OnOpened() Inherited from ClientEntity
Send(EventData) Send(EventData) Send(EventData) Send(EventData) Send(EventData) Send(EventData)

Sends event data to the logical partition represented by PartitionId.

SendAsync(EventData) SendAsync(EventData) SendAsync(EventData) SendAsync(EventData) SendAsync(EventData) SendAsync(EventData)

Asynchronous version of Send(EventData).

SendBatch(IEnumerable<EventData>) SendBatch(IEnumerable<EventData>) SendBatch(IEnumerable<EventData>) SendBatch(IEnumerable<EventData>) SendBatch(IEnumerable<EventData>) SendBatch(IEnumerable<EventData>)

Sends a batch of event data to the logical partition represented by PartitionId.

SendBatchAsync(IEnumerable<EventData>) SendBatchAsync(IEnumerable<EventData>) SendBatchAsync(IEnumerable<EventData>) SendBatchAsync(IEnumerable<EventData>) SendBatchAsync(IEnumerable<EventData>) SendBatchAsync(IEnumerable<EventData>)

Asynchronously sends a batch of event data to the logical partition represented by PartitionId.

ThrowIfClosed() ThrowIfClosed() ThrowIfClosed() ThrowIfClosed() ThrowIfClosed() ThrowIfClosed() Inherited from ClientEntity
ThrowIfDisposed() ThrowIfDisposed() ThrowIfDisposed() ThrowIfDisposed() ThrowIfDisposed() ThrowIfDisposed() Inherited from ClientEntity
ThrowIfDisposedOrImmutable() ThrowIfDisposedOrImmutable() ThrowIfDisposedOrImmutable() ThrowIfDisposedOrImmutable() ThrowIfDisposedOrImmutable() ThrowIfDisposedOrImmutable() Inherited from ClientEntity
ThrowIfDisposedOrNotOpen() ThrowIfDisposedOrNotOpen() ThrowIfDisposedOrNotOpen() ThrowIfDisposedOrNotOpen() ThrowIfDisposedOrNotOpen() ThrowIfDisposedOrNotOpen() Inherited from ClientEntity
ThrowIfFaulted() ThrowIfFaulted() ThrowIfFaulted() ThrowIfFaulted() ThrowIfFaulted() ThrowIfFaulted() Inherited from ClientEntity

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to