EventHubsModelFactory.PartitionProperties Method
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.
public static Azure.Messaging.EventHubs.PartitionProperties PartitionProperties(string eventHubName, string partitionId, bool isEmpty, long beginningSequenceNumber, long lastSequenceNumber, string lastOffsetString, DateTimeOffset lastEnqueuedTime);
static member PartitionProperties : string * string * bool * int64 * int64 * string * DateTimeOffset -> Azure.Messaging.EventHubs.PartitionProperties
Public Shared Function PartitionProperties (eventHubName As String, partitionId As String, isEmpty As Boolean, beginningSequenceNumber As Long, lastSequenceNumber As Long, lastOffsetString As String, lastEnqueuedTime As DateTimeOffset) As PartitionProperties
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.
Returns
Applies to
Azure SDK for .NET