PartitionEvent.Data Property
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.
An event that was read from the associated Partition.
public Azure.Messaging.EventHubs.EventData Data { get; }
member this.Data : Azure.Messaging.EventHubs.EventData
Public ReadOnly Property Data As EventData
Property Value
The EventData read from the Event Hub partition, if data was available.
If a maximum wait time was specified when reading events and no event was available in that
time period, null
.
Remarks
Ownership of this data, including the memory that holds its EventBody, is assumed to transfer to consumers of the PartitionEvent. It may be considered immutable and is safe to access so long as the reference is held.
Applies to
Azure SDK for .NET