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
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