Share via


PartitionProperties Class

Definition

A set of information for a single partition of an Event Hub.

public class PartitionProperties
type PartitionProperties = class
Public Class PartitionProperties
Inheritance
PartitionProperties

Constructors

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.

Properties

BeginningSequenceNumber

The first sequence number available for events in the partition.

EventHubName

The name of the Event Hub where the partitions reside, specific to the Event Hubs namespace that contains it.

Id

The identifier of the partition, unique to the Event Hub which contains it.

IsEmpty

Indicates whether or not the partition is currently empty.

LastEnqueuedOffset

The offset of the last observed event to be enqueued in the partition.

LastEnqueuedSequenceNumber

The sequence number of the last observed event to be enqueued in the partition.

LastEnqueuedTime

The date and time, in UTC, that the last observed event was enqueued in the partition.

Applies to