PartitionProperties Constructors
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.
Overloads
PartitionProperties(String, String, Boolean, Int64, Int64, Int64, DateTimeOffset) |
Initializes a new instance of the PartitionProperties class. |
PartitionProperties(String, String, Boolean, Int64, Int64, String, DateTimeOffset) |
Initializes a new instance of the PartitionProperties class. |
PartitionProperties(String, String, Boolean, Int64, Int64, Int64, DateTimeOffset)
- Source:
- PartitionProperties.cs
Initializes a new instance of the PartitionProperties class.
protected internal PartitionProperties (string eventHubName, string partitionId, bool isEmpty, long beginningSequenceNumber, long lastSequenceNumber, long lastOffset, DateTimeOffset lastEnqueuedTime);
new Azure.Messaging.EventHubs.PartitionProperties : string * string * bool * int64 * int64 * int64 * DateTimeOffset -> Azure.Messaging.EventHubs.PartitionProperties
Protected Friend Sub New (eventHubName As String, partitionId As String, isEmpty As Boolean, beginningSequenceNumber As Long, lastSequenceNumber As Long, lastOffset As Long, 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.
- lastOffset
- Int64
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
PartitionProperties(String, String, Boolean, Int64, Int64, String, DateTimeOffset)
- Source:
- PartitionProperties.cs
Initializes a new instance of the PartitionProperties class.
protected internal PartitionProperties (string eventHubName, string partitionId, bool isEmpty, long beginningSequenceNumber, long lastSequenceNumber, string lastOffset, 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, lastOffset 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.
- lastOffset
- 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