Share via


PartitionEvent(PartitionContext, EventData) Constructor

Definition

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