Share via


SendEventBatchFailedEventArgs Class

Definition

Contains information about a batch that was unable to be published, as well as the exception that occurred and the partition that the batch was being published to.

public class SendEventBatchFailedEventArgs : EventArgs
type SendEventBatchFailedEventArgs = class
    inherit EventArgs
Public Class SendEventBatchFailedEventArgs
Inherits EventArgs
Inheritance
SendEventBatchFailedEventArgs

Constructors

SendEventBatchFailedEventArgs(IReadOnlyList<EventData>, Exception, String, CancellationToken)

Initializes a new instance of the SendEventBatchFailedEventArgs class.

Properties

CancellationToken

A CancellationToken to indicate that the producer is being closed or disposed and is requesting that the handler stop its activities.

EventBatch

The set of events that were in the batch that failed to publish.

Exception

The exception that occurred when trying to publish the batch.

PartitionId

The identifier of the partition to which the batch was being published.

Applies to