Share via


EventHubClient.SendAsync(EventData) Method

Definition

Asynchronously sends event data to an Event Hub.

public System.Threading.Tasks.Task SendAsync (Microsoft.ServiceBus.Messaging.EventData data);
member this.SendAsync : Microsoft.ServiceBus.Messaging.EventData -> System.Threading.Tasks.Task
Public Function SendAsync (data As EventData) As Task

Parameters

data
EventData

The EventData to send.

Returns

The task representing the asynchronous operation.

Applies to