SendEventBatchSucceededEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET