PartitionProperties Constructor
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.
Initializes a new instance of the PartitionProperties class.
protected internal PartitionProperties(string eventHubName, string partitionId, bool isEmpty, long beginningSequenceNumber, long lastSequenceNumber, string lastOffsetString, DateTimeOffset lastEnqueuedTime);
new Azure.Messaging.EventHubs.PartitionProperties : string * string * bool * int64 * int64 * string * DateTimeOffset -> Azure.Messaging.EventHubs.PartitionProperties
Protected Friend Sub New (eventHubName As String, partitionId As String, isEmpty As Boolean, beginningSequenceNumber As Long, lastSequenceNumber As Long, lastOffsetString As String, lastEnqueuedTime As DateTimeOffset)
Parameters
- eventHubName
- String
The name of the Event Hub that contains the partitions.
- partitionId
- String
The identifier of the partition.
- isEmpty
- Boolean
Indicates whether or not the partition is currently empty.
- beginningSequenceNumber
- Int64
The first sequence number available for events in the partition.
- lastSequenceNumber
- Int64
The sequence number observed the last event to be enqueued in the partition.
- lastOffsetString
- String
The offset of the last event to be enqueued in the partition.
- lastEnqueuedTime
- DateTimeOffset
The date and time, in UTC, that the last event was enqueued in the partition.
Applies to
Azure SDK for .NET