| Constructor and Description |
|---|
PartitionEvent(PartitionContext partitionContext,
EventData eventData,
LastEnqueuedEventProperties lastEnqueuedEventProperties)
Creates an instance of PartitionEvent.
|
| Modifier and Type | Method and Description |
|---|---|
EventData |
getData()
Gets the event received from the partition.
|
LastEnqueuedEventProperties |
getLastEnqueuedEventProperties()
Gets the properties of the last enqueued event in this partition.
|
PartitionContext |
getPartitionContext()
Returns the partition information associated with the event data.
|
public PartitionEvent(PartitionContext partitionContext, EventData eventData, LastEnqueuedEventProperties lastEnqueuedEventProperties)
partitionContext - The partition information associated with the event data.eventData - The event data received from the Event Hub.lastEnqueuedEventProperties - The properties of the last enqueued event in the partition.NullPointerException - if partitionContext or eventData is null.public PartitionContext getPartitionContext()
public EventData getData()
public LastEnqueuedEventProperties getLastEnqueuedEventProperties()
Copyright © 2020 Microsoft Corporation. All rights reserved.