OnSendEventsErrorContext interface

Contains the events that were not successfully sent to the Event Hub, the partition they were assigned to, and the error that was encountered while sending.

Properties

error

The error that occurred when sending the associated events to the Event Hub.

events

The array of EventData and/or AmqpAnnotatedMessage that were not successfully sent to the Event Hub.

partitionId

The partition each event was assigned.

Property Details

error

The error that occurred when sending the associated events to the Event Hub.

error: Error

Property Value

Error

events

The array of EventData and/or AmqpAnnotatedMessage that were not successfully sent to the Event Hub.

events: (EventData | AmqpAnnotatedMessage)[]

Property Value

partitionId

The partition each event was assigned.

partitionId: string

Property Value

string