EventHubClient.CreateSenderAsync Method

Definition

Overloads

CreateSenderAsync()

Creates the Event Hubs sender. This method is for internal use, and not meant to be called from user code.

CreateSenderAsync(String)

Asynchronous version of CreateSender(String).

CreateSenderAsync()

Creates the Event Hubs sender. This method is for internal use, and not meant to be called from user code.

protected abstract System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSender> CreateSenderAsync ();
abstract member CreateSenderAsync : unit -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSender>
Protected MustOverride Function CreateSenderAsync () As Task(Of MessageSender)

Returns

Task<MessageSender>

The task representing the asynchronous operation.

Applies to

CreateSenderAsync(String)

Asynchronous version of CreateSender(String).

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.EventHubSender> CreateSenderAsync (string publisher);
member this.CreateSenderAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.EventHubSender>
Public Function CreateSenderAsync (publisher As String) As Task(Of EventHubSender)

Parameters

publisher
String

The publisher identifier.

Returns

Task<EventHubSender>

Returns Task<TResult>.

Applies to