Share via


EventDataBatch.ToEnumerable Method

Definition

Converts the batch to an IEnumerable of EventData objects that can be accepted by the SendBatch or SendBatchAsync method.

public System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.EventData> ToEnumerable ();
member this.ToEnumerable : unit -> seq<Microsoft.ServiceBus.Messaging.EventData>
Public Function ToEnumerable () As IEnumerable(Of EventData)

Returns

Returns an IEnumerable of EventData objects.

Applies to