PartitionEvent(PartitionContext, EventData) 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 PartitionEvent structure.
public PartitionEvent (Azure.Messaging.EventHubs.Consumer.PartitionContext partition, Azure.Messaging.EventHubs.EventData data);
new Azure.Messaging.EventHubs.Consumer.PartitionEvent : Azure.Messaging.EventHubs.Consumer.PartitionContext * Azure.Messaging.EventHubs.EventData -> Azure.Messaging.EventHubs.Consumer.PartitionEvent
Public Sub New (partition As PartitionContext, data As EventData)
Parameters
- partition
- PartitionContext
The Event Hub partition that the data
is associated with.
- data
- EventData
The event that was read, if events were available; otherwise, null
.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET