EventData Class

Definition

A set of data encapsulating an event and the associated metadata for use with Event Hubs operations.

public class EventData
type EventData = class
Public Class EventData
Inheritance
EventData

Constructors

EventData(BinaryData)

Initializes a new instance of the EventData class.

EventData(ReadOnlyMemory<Byte>)

Initializes a new instance of the EventData class.

Properties

EnqueuedTime

The date and time, in UTC, of when the event was enqueued in the Event Hub partition.

EventBody

The data associated with the event, in BinaryData form, providing support for a variety of data transformations and ObjectSerializer integration.

Offset

The offset of the event when it was received from the associated Event Hub partition.

PartitionKey

The partition hashing key applied to the batch that the associated EventData, was published with.

Properties

The set of free-form event properties which may be used for passing metadata associated with the event body during Event Hubs operations.

SequenceNumber

The sequence number assigned to the event when it was enqueued in the associated Event Hub partition.

SystemProperties

The set of free-form event properties which were provided by the Event Hubs service to pass metadata associated with the event or associated Event Hubs operation.

Applies to