SendEventBatchSucceededEventArgs Constructor

Definition

Initializes a new instance of the SendEventBatchSucceededEventArgs class.

public SendEventBatchSucceededEventArgs (System.Collections.Generic.IReadOnlyList<Azure.Messaging.EventHubs.EventData> eventBatch, string partitionId, System.Threading.CancellationToken cancellationToken);
new Azure.Messaging.EventHubs.Producer.SendEventBatchSucceededEventArgs : System.Collections.Generic.IReadOnlyList<Azure.Messaging.EventHubs.EventData> * string * System.Threading.CancellationToken -> Azure.Messaging.EventHubs.Producer.SendEventBatchSucceededEventArgs
Public Sub New (eventBatch As IReadOnlyList(Of EventData), partitionId As String, cancellationToken As CancellationToken)

Parameters

eventBatch
IReadOnlyList<EventData>

The set of events in the batch that was published.

partitionId
String

The identifier of the partition that the batch was published to.

cancellationToken
CancellationToken

A CancellationToken instance to signal the request to cancel the operation.

Applies to