Compartilhar via


EventHubsModelFactory.PartitionProperties Method

Definition

Overloads

PartitionProperties(String, String, Boolean, Int64, Int64, Int64, DateTimeOffset)

Initializes a new instance of the PartitionProperties(String, String, Boolean, Int64, Int64, Int64, DateTimeOffset) class.

PartitionProperties(String, String, Boolean, Int64, Int64, String, DateTimeOffset)

Initializes a new instance of the PartitionProperties(String, String, Boolean, Int64, Int64, String, DateTimeOffset) class.

PartitionProperties(String, String, Boolean, Int64, Int64, Int64, DateTimeOffset)

Source:
EventHubsModelFactory.cs
public static Azure.Messaging.EventHubs.PartitionProperties PartitionProperties (string eventHubName, string partitionId, bool isEmpty, long beginningSequenceNumber, long lastSequenceNumber, long lastOffset, DateTimeOffset lastEnqueuedTime);
static member PartitionProperties : string * string * bool * int64 * int64 * int64 * DateTimeOffset -> Azure.Messaging.EventHubs.PartitionProperties
Public Shared Function PartitionProperties (eventHubName As String, partitionId As String, isEmpty As Boolean, beginningSequenceNumber As Long, lastSequenceNumber As Long, lastOffset As Long, 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.

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.

Returns

Applies to

PartitionProperties(String, String, Boolean, Int64, Int64, String, DateTimeOffset)

Source:
EventHubsModelFactory.cs
public static Azure.Messaging.EventHubs.PartitionProperties PartitionProperties (string eventHubName, string partitionId, bool isEmpty, long beginningSequenceNumber, long lastSequenceNumber, string lastOffset, 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, lastOffset 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.

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.

Returns

Applies to