Skip to content

EventHubMessage.EventHubMessage(StreamId, string, string, long, DateTime, DateTime, IDictionary<string, object>, byte[])

EventHubMessage(StreamId, string, string, long, DateTime, DateTime, IDictionary<string, object>, byte[])

View source
public EventHubMessage(StreamId streamId, string partitionKey, string offset, long sequenceNumber, DateTime enqueueTimeUtc, DateTime dequeueTimeUtc, IDictionary<string, object> properties, byte[] payload)
Constructor

Parameters

streamIdStreamId
Stream Identity
partitionKeystring
EventHub partition key for message
offsetstring
Offset into the EventHub partition where this message was from
sequenceNumberlong
Offset into the EventHub partition where this message was from
enqueueTimeUtcDateTime
Time in UTC when this message was injected by EventHub
dequeueTimeUtcDateTime
Time in UTC when this message was read from EventHub into the current service
propertiesIDictionary<string, object>
User properties from EventData object
payloadbyte[]
Binary data from EventData object