Share via


EventHubClient.CreateBatch Method

Definition

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

public Microsoft.ServiceBus.Messaging.EventDataBatch CreateBatch ();
member this.CreateBatch : unit -> Microsoft.ServiceBus.Messaging.EventDataBatch
Public Function CreateBatch () As EventDataBatch

Returns

Returns EventDataBatch.

Applies to