EventHubClient.CreateSenderAsync Method
Definition
Important
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.
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
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
Returns Task<TResult>.