Hubs Model Factory. Event Data(BinaryData, IDictionary<String,Object>, IReadOnlyDictionary<String,Object>, String, Int64, Int64, DateTimeOffset) Method
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.
Initializes a new instance of the EventData(BinaryData, IDictionary<String,Object>, IReadOnlyDictionary<String,Object>, String, Int64, Int64, DateTimeOffset) class.
public static Azure.Messaging.EventHubs.EventData EventData (BinaryData eventBody, System.Collections.Generic.IDictionary<string,object> properties = default, System.Collections.Generic.IReadOnlyDictionary<string,object> systemProperties = default, string partitionKey = default, long sequenceNumber = -9223372036854775808, long offset = -9223372036854775808, DateTimeOffset enqueuedTime = default);
static member EventData : BinaryData * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IReadOnlyDictionary<string, obj> * string * int64 * int64 * DateTimeOffset -> Azure.Messaging.EventHubs.EventData
Public Shared Function EventData (eventBody As BinaryData, Optional properties As IDictionary(Of String, Object) = Nothing, Optional systemProperties As IReadOnlyDictionary(Of String, Object) = Nothing, Optional partitionKey As String = Nothing, Optional sequenceNumber As Long = -9223372036854775808, Optional offset As Long = -9223372036854775808, Optional enqueuedTime As DateTimeOffset = Nothing) As EventData
The data to use as the body of the event.
The set of system properties that accompany events read from the Event Hubs service.
The partition hashing key associated with the event when it was published.
The sequence number assigned to the event when it was enqueued in the associated Event Hub partition.
The offset of the event when it was received from the associated Event Hub partition.
The date and time, in UTC, of when the event was enqueued in the Event Hub partition.